We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c11d6 commit 0f8c4c5Copy full SHA for 0f8c4c5
.github/workflows/cmake.yml
@@ -0,0 +1,26 @@
1
+name: CMake
2
+
3
+on:
4
+ push:
5
+ branches: [ master, development ]
6
+ pull_request:
7
8
9
+env:
10
+ BUILD_TYPE: Release
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
19
+ - name: Build C amalgamation
20
+ run: python ${{github.workspace}}/do.py build-c
21
22
+ - name: Configure CMake
23
+ run: cmake -B ${{github.workspace}}/code-experiments/build/c/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
24
25
+ - name: Build
26
+ run: cmake --build ${{github.workspace}}/code-experiments/build/c/build --config ${{env.BUILD_TYPE}}
0 commit comments