File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Windows Build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ permissions :
12+ contents : read
13+
14+ concurrency :
15+ group : windows-build-${{ github.ref }}
16+ cancel-in-progress : true
17+
18+ jobs :
19+ build-and-test :
20+ name : x64 ${{ matrix.configuration }}
21+ runs-on : windows-2022
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ configuration :
26+ - Debug
27+ - Release
28+
29+ steps :
30+ - name : Checkout
31+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
32+
33+ - name : Configure
34+ run : >-
35+ cmake -S . -B "out/build/${{ matrix.configuration }}"
36+ -G "Visual Studio 17 2022" -A x64
37+ -DBUILD_TESTING=ON
38+
39+ - name : Build
40+ run : >-
41+ cmake --build "out/build/${{ matrix.configuration }}"
42+ --config "${{ matrix.configuration }}" --parallel
43+
44+ - name : Test
45+ run : >-
46+ ctest --test-dir "out/build/${{ matrix.configuration }}"
47+ -C "${{ matrix.configuration }}" --output-on-failure
You can’t perform that action at this time.
0 commit comments