All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m39s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 6s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
Run pytests / Check-Pytest (push) Successful in 11s
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
26 lines
705 B
YAML
26 lines
705 B
YAML
---
|
|
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/build/firmware-*.uf2
|
|
- name: Upload firmware w/ filesystem
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: firmware-RPi-Pico-W-with-fs
|
|
path: software/build/firmware-filesystem-*.uf2
|