We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a6c61 commit ccb0561Copy full SHA for ccb0561
.github/workflows/cmake-single-platform.yml
@@ -0,0 +1,29 @@
1
+# This starter workflow is for a CMake project running on Windows.
2
+name: CMake on Windows
3
+
4
+on:
5
+ push:
6
+ branches: [ "main" ]
7
+ pull_request:
8
9
10
+env:
11
+ # Customize the CMake build type here (Release, Debug, etc.)
12
+ BUILD_TYPE: Release
13
14
+jobs:
15
+ build:
16
+ runs-on: windows-latest
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - name: Configure CMake
22
+ run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
23
24
+ - name: Build
25
+ run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}
26
27
+ - name: Test
28
+ working-directory: ${{ github.workspace }}/build
29
+ run: ctest -C ${{ env.BUILD_TYPE }}
0 commit comments