We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c30aa4 commit 7839af0Copy full SHA for 7839af0
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ os: [ubuntu-latest, macos-latest, windows-latest]
16
+ build_type: [Release, Debug]
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - name: Configure CMake
22
+ run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
23
24
+ - name: Build
25
+ run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
26
27
+ - name: Test
28
+ working-directory: ${{github.workspace}}/build
29
+ run: ${{ runner.os == 'Windows' && './Test.exe' || './Test' }}
0 commit comments