We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62eabec commit f17548fCopy full SHA for f17548f
.github/workflows/Cmake.yml
@@ -0,0 +1,30 @@
1
+name: CMake config and build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch:
10
+jobs:
11
+ cmake:
12
+ name: Check CMake usage
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@main
18
19
+ - name: Get latest CMake and Ninja
20
+ uses: lukka/get-cmake@latest
21
22
+ - name: Configure
23
+ run: |
24
+ mkdir build
25
+ cd build
26
+ cmake -S ${{ env.GITHUB_WORKSPACE }}/CI/build/examples/BareMinimum -B . -G Ninja
27
28
+ - name: Build example
29
+ working-directory: '${{ env.GITHUB_WORKSPACE }}/build'
30
+ run: ninja
0 commit comments