We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13997d2 commit c4a685dCopy full SHA for c4a685d
.github/workflows/test.yaml
@@ -0,0 +1,37 @@
1
+name: C++ Tests
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - 'cpp/**'
7
+ - '.github/workflows/test.yaml'
8
+ pull_request:
9
10
11
12
13
+jobs:
14
+ build-and-test:
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
21
+ - name: Install dependencies
22
+ run: |
23
+ sudo apt-get update
24
+ sudo apt-get install -y cmake g++ make
25
26
+ - name: Build tests
27
+ working-directory: cpp/tests
28
29
+ mkdir -p build
30
+ cd build
31
+ cmake ..
32
+ make
33
34
+ - name: Run tests
35
+ working-directory: cpp/tests/build
36
37
+ ctest --output-on-failure
0 commit comments