diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-29 14:54:43 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-29 14:59:57 +0100 |
| commit | 9c984c85a011c61af93464303ce5280eb5f33ac7 (patch) | |
| tree | 6b95c2df2f219745081fcf85fb73d650f8f07621 /.github | |
| parent | remove the static linking workaround (diff) | |
| download | setup-mingw-9c984c85a011c61af93464303ce5280eb5f33ac7.tar.gz setup-mingw-9c984c85a011c61af93464303ce5280eb5f33ac7.zip | |
drop Cygwin, it's obsolete
Diffstat (limited to '.github')
| -rw-r--r-- | .github/actions/check-cc-cygwin/action.yml | 26 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 35 |
2 files changed, 0 insertions, 61 deletions
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: |
