ci: Add firmware build step
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 2m57s
Check code formatting / Check-C-Format (push) Successful in 6s
Check code formatting / Check-Python-Flake8 (push) Successful in 8s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 4s
Run unit tests on host / Run-Unit-Tests (push) Successful in 7s

Try to build the actual firmware image in CI
This commit is contained in:
2025-03-10 18:19:25 +01:00
parent c698dad6da
commit 9c898853f8
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
name: Build RPi Pico firmware image
on:
push:
jobs:
Build-Firmware:
runs-on: tonberry-build
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Initialize submodules
run: cd software && ./update-submodules.sh
- name: Build
run: cd software && ./build.sh
- name: Upload firmware
uses: actions/upload-artifact@v3
with:
name: firmware-RPi-Pico-W
path: software/lib/micropython/ports/rp2/build-TONBERRY_RPI_PICO_W/firmware.uf2