We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2de65f commit d8d8757Copy full SHA for d8d8757
.github/workflows/build.yml
@@ -2,9 +2,9 @@ name: Build STM32 Project
2
3
on:
4
push:
5
- branches: ["master", "workflows"]
+ branches: ["master","vscode"]
6
pull_request:
7
+ branches: ["master", "vscode"]
8
9
jobs:
10
build:
@@ -19,5 +19,10 @@ jobs:
19
sudo apt-get update
20
sudo apt-get install -y gcc-arm-none-eabi
21
22
- - name: Build project
23
- run: make
+ - name: Configure project with CMake
+ run: |
24
+ # If you need a toolchain file, add: -DCMAKE_TOOLCHAIN_FILE=path/to/your/toolchain.cmake
25
+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
26
+
27
+ - name: Build project with CMake
28
+ run: cmake --build build --config Debug
.gitignore
@@ -0,0 +1 @@
1
+build/
0 commit comments