Skip to content

Commit fdcc880

Browse files
committed
Add msys2 test
1 parent 7dd02fa commit fdcc880

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/actions_cpp.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,30 @@ jobs:
2222
run: |
2323
cd CPP/build
2424
ctest . -C RelWithDebInfo --output-on-failure
25+
windows-msys2:
26+
runs-on: 'windows-latest'
27+
defaults:
28+
run:
29+
shell: msys2 {0}
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: msys2/setup-msys2@v2
33+
with:
34+
msystem: UCRT64
35+
update: true
36+
pacman: >-
37+
mingw-w64-ucrt-x86_64-toolchain
38+
mingw-w64-ucrt-x86_64-cmake
39+
- name: Build
40+
run: |
41+
mkdir CPP/build
42+
cd CPP/build
43+
cmake .. -G "MSYS Makefiles" -DCLIPPER2_TESTS=ON
44+
cmake --build . --parallel
45+
- name: Run tests
46+
run: |
47+
cd CPP/build
48+
ctest . --output-on-failure
2549
ubuntu-latest-gcc-default:
2650
runs-on: 'ubuntu-latest'
2751
steps:

0 commit comments

Comments
 (0)