We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 552d77b commit 7de0412Copy full SHA for 7de0412
1 file changed
.github/workflows/ci.yml
@@ -10,7 +10,7 @@ jobs:
10
build:
11
strategy:
12
matrix:
13
- os: [ubuntu-latest, macos-latest]
+ os: [ubuntu-latest, macos-latest, windows-latest]
14
runs-on: ${{ matrix.os }}
15
16
steps:
@@ -19,8 +19,13 @@ jobs:
19
- name: Configure
20
run: cmake -B build -DCMAKE_BUILD_TYPE=Release
21
22
- - name: Build
+ - name: Build (Unix)
23
+ if: runner.os != 'Windows'
24
run: cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
25
26
+ - name: Build (Windows)
27
+ if: runner.os == 'Windows'
28
+ run: cmake --build build --config Release -j $env:NUMBER_OF_PROCESSORS
29
+
30
- name: Test
- run: ctest --test-dir build --output-on-failure
31
+ run: ctest --test-dir build --output-on-failure -C Release
0 commit comments