Skip to content

Commit bdb606b

Browse files
committed
updated pipeline to upload UF2 for multiple targets
1 parent a48116c commit bdb606b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/cmake.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ env:
77

88
jobs:
99
build:
10-
matrix:
11-
board:
12-
- pico_w
13-
- pimoroni_pico_plus2_w_rp2350.h
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
board:
15+
- pico_w
16+
- pimoroni_pico_plus2_w_rp2350.h
1417
env:
1518
PICO_BOARD: ${{ matrix.board }}
1619

1720
steps:
21+
- name: Fetch build dependencies
22+
shell: bash
23+
run: sudo apt-get update; sudo apt-get install --yes python3 git cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libstdc++-arm-none-eabi-newlib; sudo rm -rf /var/apt/cache
24+
1825
- name: Clean workspace
1926
run: |
2027
echo "Cleaning up previous run"
@@ -30,7 +37,7 @@ jobs:
3037
uses: actions/checkout@v4
3138
with:
3239
repository: raspberrypi/pico-sdk
33-
ref: develop
40+
ref: master
3441
path: pico-sdk
3542

3643
- name: Checkout pico-sdk submodules

0 commit comments

Comments
 (0)