From 9c984c85a011c61af93464303ce5280eb5f33ac7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 29 Dec 2025 14:54:43 +0100 Subject: drop Cygwin, it's obsolete --- .github/actions/check-cc-cygwin/action.yml | 26 ---------------------- .github/workflows/test.yml | 35 ------------------------------ 2 files changed, 61 deletions(-) delete mode 100644 .github/actions/check-cc-cygwin/action.yml (limited to '.github') diff --git a/.github/actions/check-cc-cygwin/action.yml b/.github/actions/check-cc-cygwin/action.yml deleted file mode 100644 index 042709f..0000000 --- a/.github/actions/check-cc-cygwin/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Check cc/c++ -description: Check cc/c++ (on Cygwin) -runs: - using: composite - steps: - - run: | - check_tool() { - local exe - for exe; do - full_path="$( command -v "$exe" )" - echo "$full_path" - - output="$( "$full_path" --version )" - echo "$output" - - # Is this really the most stable piece of `gcc --version` output? - if ! echo "$output" | grep -F -- "This is free software; see the source for copying conditions."; then - echo 'Unexpected `'"$exe"' --version` output.' >&2 - exit 1 - fi - done - } - - check_tool cc - check_tool c++ - shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8cf771c..1a62ee6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,41 +9,6 @@ on: workflow_dispatch: jobs: - cygwin: - strategy: - # It's much easier to re-run as few jobs as possible: - fail-fast: false - matrix: - hardlinks: [0, 1] - runs-on: windows-latest - name: 'Cygwin: hardlinks${{ matrix.hardlinks }}' - defaults: - run: - shell: pwsh - steps: - - name: Checkout - uses: actions/checkout@v6 - - name: Install Cygwin - uses: egor-tensin/setup-cygwin@v4 - - name: Set up MinGW - id: setup - uses: ./ - with: - cygwin: 1 - cc: 1 - hardlinks: '${{ matrix.hardlinks }}' - - name: Build foo.exe - run: | - & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o foo foo.cpp - - name: Run foo.exe - uses: ./.github/actions/run-foo - - name: Check cc/c++ - uses: ./.github/actions/check-cc - if: matrix.hardlinks - - name: Check cc/c++ - uses: ./.github/actions/check-cc-cygwin - if: '!matrix.hardlinks' - test: strategy: # It's much easier to re-run as few jobs as possible: -- cgit v1.3