We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c13d1fe commit 91eab57Copy full SHA for 91eab57
.github/workflows/tests.yml
@@ -0,0 +1,29 @@
1
+name: Libdbc Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
+env:
9
+ # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
10
+ BUILD_TYPE: Release
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v3
18
19
+ - name: Configure CMake
20
+ run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
21
22
+ - name: Build
23
+ run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
24
25
+ - name: Test
26
+ working-directory: ${{github.workspace}}/build
27
+ # Didn't configure to use ctest. Opted for a custom target to run instead
28
+ run: cmake --build build --target test
29
0 commit comments