Skip to content

Commit 9c2ae4f

Browse files
fix: build
1 parent b7df073 commit 9c2ae4f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ jobs:
2020
sudo apt-get update
2121
sudo apt-get install -y cmake build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
2222
23+
- name: Configure CMake
24+
run: |
25+
mkdir -p build
26+
cd build
27+
cmake .. -DCMAKE_BUILD_TYPE=Release -DPICO_SDK_FETCH_FROM_GIT=ON
28+
2329
- name: Build Firmware
24-
run: make build
30+
run: |
31+
cd build
32+
cmake --build .
2533
2634
- name: Create Release
2735
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)