Skip to content

Commit 445c2a2

Browse files
committed
Add msys2 test
1 parent 7dd02fa commit 445c2a2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/actions_cpp.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,32 @@ 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+
pacboy: >-
37+
git:
38+
make:
39+
toolchain:p
40+
cmake:p
41+
- name: Build
42+
run: |
43+
mkdir CPP/build
44+
cd CPP/build
45+
cmake .. -G "MSYS Makefiles" -DCLIPPER2_TESTS=ON
46+
cmake --build . --parallel
47+
- name: Run tests
48+
run: |
49+
cd CPP/build
50+
ctest . --output-on-failure
2551
ubuntu-latest-gcc-default:
2652
runs-on: 'ubuntu-latest'
2753
steps:

0 commit comments

Comments
 (0)