Skip to content

Commit a11d335

Browse files
committed
test-on-win
1 parent 65064c4 commit a11d335

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CMake-Build-Test-Win64
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ "main" ]
7+
pull_request:
8+
branches: [ "main" ]
9+
10+
jobs:
11+
msys-clang64:
12+
name: CMake-Build-Test
13+
runs-on: windows-latest
14+
defaults:
15+
run:
16+
shell: msys2 {0}
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- uses: msys2/setup-msys2@v2
22+
with:
23+
msystem: CLANG64
24+
update: true
25+
install: >
26+
git
27+
pacboy: >
28+
toolchain:p
29+
gtest:p
30+
benchmark:p
31+
32+
- name: Configure CMake
33+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=ON -DWARNING_PARANOID=ON
34+
35+
- name: Build
36+
run: cmake --build ${{github.workspace}}/build
37+
38+
- name: Test
39+
run: cd ${{github.workspace}}/build; ctest

0 commit comments

Comments
 (0)