We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 664f985 commit 7fd9639Copy full SHA for 7fd9639
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ strategy:
12
+ matrix:
13
+ os: [ubuntu-latest, macos-latest]
14
+ runs-on: ${{ matrix.os }}
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Configure
20
+ run: cmake -B build -DCMAKE_BUILD_TYPE=Release
21
22
+ - name: Build
23
+ run: cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
24
25
+ - name: Test
26
+ run: ctest --test-dir build --output-on-failure
0 commit comments