diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-29 18:13:23 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-29 18:13:23 +0100 |
| commit | eee1040f62d375f7c49408b9e182bba44d2603a9 (patch) | |
| tree | 50439af51f9d9230e0b603f52a2ce8ea2f6416db /.github | |
| parent | workflows/test: upgrade runner images and actions (diff) | |
| download | setup-clang-eee1040f62d375f7c49408b9e182bba44d2603a9.tar.gz setup-clang-eee1040f62d375f7c49408b9e182bba44d2603a9.zip | |
drop Cygwin, it's obsolete
Diffstat (limited to '.github')
| -rw-r--r-- | .github/actions/build-foo-cygwin/action.yml | 15 | ||||
| -rw-r--r-- | .github/actions/check-cc-cygwin/action.yml | 25 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 37 |
3 files changed, 0 insertions, 77 deletions
diff --git a/.github/actions/build-foo-cygwin/action.yml b/.github/actions/build-foo-cygwin/action.yml deleted file mode 100644 index 5f110c5..0000000 --- a/.github/actions/build-foo-cygwin/action.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Build foo.exe -description: Build foo.exe (on Cygwin) -runs: - using: composite - steps: - - run: | - IFS= read -r src_dir <<'EOF' - ${{ github.workspace }} - EOF - echo "$src_dir" - src_dir="$( cygpath -ua "$src_dir" )" - cd -- "$src_dir" - clang++ --version - clang++ -std=c++14 -o foo.exe foo.cpp - shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' diff --git a/.github/actions/check-cc-cygwin/action.yml b/.github/actions/check-cc-cygwin/action.yml deleted file mode 100644 index 432d1b8..0000000 --- a/.github/actions/check-cc-cygwin/action.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Check symlinks -description: Check symlinks (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" - - if ! echo "$output" | grep -F -- "clang version"; 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 a2a6293..e2a8288 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,40 +61,3 @@ jobs: uses: ./.github/actions/check-cc with: version: '${{ matrix.version }}' - - cygwin: - strategy: - matrix: - hardlinks: [0, 1] - runs-on: windows-latest - name: 'Cygwin: hardlinks${{ matrix.hardlinks }}' - # As of January 2023, clang simply doesn't work on Cygwin. - # It's also marked "Unmaintained" in the installer. - continue-on-error: true - steps: - - name: Checkout - uses: actions/checkout@v6 - - name: Clean up PATH - uses: egor-tensin/cleanup-path@v4 - - name: Install Cygwin - uses: egor-tensin/setup-cygwin@v4 - - name: Set up Clang - uses: ./ - with: - cygwin: 1 - cc: 1 - hardlinks: '${{ matrix.hardlinks }}' - - name: Build foo.exe - uses: ./.github/actions/build-foo - if: matrix.hardlinks - - name: Build foo.exe - uses: ./.github/actions/build-foo-cygwin - if: '!matrix.hardlinks' - - name: Run foo.exe - uses: ./.github/actions/run-foo - - name: Check symlinks - uses: ./.github/actions/check-cc - if: matrix.hardlinks - - name: Check symlinks - uses: ./.github/actions/check-cc-cygwin - if: '!matrix.hardlinks' |
