CMake: Disable testing on Cygwin.

pull/1039/head
Vollstrecker 4 months ago committed by Mark Adler
parent b9cf26c056
commit 00cbe1d6b1
  1. 64
      .github/workflows/msys-cygwin.yml

@ -40,35 +40,35 @@ jobs:
- name: Run tests - name: Run tests
run: ctest --output-on-failure --test-dir build -C Release run: ctest --output-on-failure --test-dir build -C Release
cygwin: # cygwin:
strategy: # strategy:
fail-fast: false # fail-fast: false
runs-on: windows-latest # runs-on: windows-latest
defaults: # defaults:
run: # run:
shell: C:\cygwin\bin\bash.exe --login -o igncr '{0}' # shell: C:\cygwin\bin\bash.exe --login -o igncr '{0}'
name: Cygwin # name: Cygwin
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v4 # uses: actions/checkout@v4
with: # with:
fetch-depth: 0 # fetch-depth: 0
- name: Setup cygwin # - name: Setup cygwin
uses: cygwin/cygwin-install-action@master # uses: cygwin/cygwin-install-action@master
with: # with:
packages: >- # packages: >-
cmake # cmake
cygwin-devel # cygwin-devel
gcc-core # gcc-core
gcc-g++ # gcc-g++
ninja # ninja
- name: Configure # - name: Configure
run: | # run: |
cmake /cygdrive/d/a/zlib/zlib \ # cmake /cygdrive/d/a/zlib/zlib \
-B build \ # -B build \
-DCMAKE_BUILD_TYPE=Release \ # -DCMAKE_BUILD_TYPE=Release \
-G Ninja # -G Ninja
- name: Build # - name: Build
run: cmake --build build --config Release # run: cmake --build build --config Release
- name: Run tests # - name: Run tests
run: ctest --output-on-failure --test-dir build -C Release # run: ctest --output-on-failure --test-dir build -C Release

Loading…
Cancel
Save