We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4059083 commit 5c6fcc2Copy full SHA for 5c6fcc2
1 file changed
.github/workflows/cmake.yml
@@ -0,0 +1,27 @@
1
+name: CMake Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: [main, development]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ matrix:
14
+ os: [ubuntu-latest, macos-latest]
15
+ build_type: [Release, Debug]
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
20
+ - name: Configure CMake
21
+ run: cmake -B build -S . -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
22
23
+ - name: Build
24
+ run: cmake --build build --config ${{ matrix.build_type }}
25
26
+ - name: Run tests
27
+ run: ./build/all_tests
0 commit comments