Files
tonberry-pico/.gitea/workflows/build.yaml
Matthias Blankertz e33f3390e7
Some checks failed
Build RPi Pico firmware image / Build-Firmware (push) Failing after 2m36s
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 10s
Run pytests / Check-Pytest (push) Has been cancelled
feat: Add and deploy frontend
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2025-12-06 18:52:07 +01:00

28 lines
824 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: Prepare venv
run: python -m venv build-venv && . build-venv/bin/activate && pip install freezefs
- 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