Skip to content

Commit ea53f48

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

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/actions_cpp.yml

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

0 commit comments

Comments
 (0)