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 1526598 commit 22c475cCopy full SHA for 22c475c
.github/workflows/ci.yaml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ ci:
9
+ runs-on: ubuntu-22.04
10
+ strategy:
11
+ matrix:
12
+ # @see https://stackoverflow.com/a/68940067
13
+ compiler: [{cc: gcc, cxx: g++}]
14
+ std: [14, 17]
15
+ steps:
16
+ - uses: actions/checkout@v3
17
18
+ - name: Install dependencies
19
+ run: |
20
+ sudo apt-get -y update && sudo apt-get -y install \
21
+ libboost-all-dev
22
23
+ - name: Configure
24
25
+ CC=${{ matrix.compiler.cc }} CXX=${{ matrix.compiler.cxx }} cmake -DCMAKE_CXX_STANDARD=${{ matrix.std }} .
26
27
+ - name: Build
28
29
+ make
30
31
+ - name: Test
32
33
+ make test
34
0 commit comments