We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5232ccf commit c20e3d3Copy full SHA for c20e3d3
1 file changed
.github/workflows/cmake-multi-platform.yml
@@ -1,4 +1,4 @@
1
-name: CMake for Multiple Platforms
+name: CMake on Multiple Platforms
2
3
on:
4
push:
@@ -12,7 +12,6 @@ jobs:
12
matrix:
13
os: [ubuntu-latest, windows-latest]
14
build_type: [Release]
15
- # Define compilers for each OS.
16
include:
17
- os: windows-latest
18
c_compiler: cl
@@ -29,6 +28,12 @@ jobs:
29
28
- name: Checkout source code
30
uses: actions/checkout@v4
31
+ - name: Clean build directory
32
+ run: |
33
+ if [ -d "${{ github.workspace }}/build" ]; then
34
+ rm -rf "${{ github.workspace }}/build"
35
+ fi
36
+
37
- name: Set build output directory
38
id: build_dir
39
run: |
@@ -51,4 +56,4 @@ jobs:
51
56
${{ steps.build_dir.outputs.BUILD_DIR }}/shuttle_system
52
57
else
53
58
${{ steps.build_dir.outputs.BUILD_DIR }}\\shuttle_system.exe
54
- fi
59
0 commit comments