Skip to content

Commit 734f974

Browse files
Vollstreckermadler
authored andcommitted
CMake: Re-enable Cygwin tests without Ninja.
1 parent 6925d39 commit 734f974

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

.github/workflows/msys-cygwin.yml

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,33 @@ jobs:
4040
- name: Run tests
4141
run: ctest --output-on-failure --test-dir build -C Release
4242

43-
# cygwin:
44-
# strategy:
45-
# fail-fast: false
46-
# runs-on: windows-latest
47-
# defaults:
48-
# run:
49-
# shell: C:\cygwin\bin\bash.exe --login -o igncr '{0}'
50-
# name: Cygwin
51-
# steps:
52-
# - name: Checkout
53-
# uses: actions/checkout@v4
54-
# with:
55-
# fetch-depth: 0
56-
# - name: Setup cygwin
57-
# uses: cygwin/cygwin-install-action@master
58-
# with:
59-
# packages: >-
60-
# cmake
61-
# cygwin-devel
62-
# gcc-core
63-
# gcc-g++
64-
# ninja
65-
# - name: Configure
66-
# run: |
67-
# cmake /cygdrive/d/a/zlib/zlib \
68-
# -B build \
69-
# -DCMAKE_BUILD_TYPE=Release \
70-
# -G Ninja
71-
# - name: Build
72-
# run: cmake --build build --config Release
73-
# - name: Run tests
74-
# run: ctest --output-on-failure --test-dir build -C Release
43+
cygwin:
44+
strategy:
45+
fail-fast: false
46+
runs-on: windows-latest
47+
defaults:
48+
run:
49+
shell: C:\cygwin\bin\bash.exe --login -o igncr '{0}'
50+
name: Cygwin
51+
steps:
52+
- name: Checkout
53+
uses: actions/checkout@v4
54+
with:
55+
fetch-depth: 0
56+
- name: Setup cygwin
57+
uses: cygwin/cygwin-install-action@master
58+
with:
59+
packages: >-
60+
cmake
61+
cygwin-devel
62+
gcc-core
63+
gcc-g++
64+
- name: Configure
65+
run: |
66+
cmake /cygdrive/d/a/zlib/zlib \
67+
-B build \
68+
-DCMAKE_BUILD_TYPE=Release
69+
- name: Build
70+
run: cmake --build build --config Release
71+
- name: Run tests
72+
run: ctest --output-on-failure --test-dir build -C Release

0 commit comments

Comments
 (0)