Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Stripped PIR and Fingerprint code sections #9

Stripped PIR and Fingerprint code sections

Stripped PIR and Fingerprint code sections #9

Workflow file for this run

name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: |
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
mkdir -p /usr/local/bin
ln -s ~/.platformio/penv/bin/platformio /usr/local/bin/platformio
ln -s ~/.platformio/penv/bin/pio /usr/local/bin/pio
ln -s ~/.platformio/penv/bin/piodebuggdb /usr/local/bin/piodebuggdb
- name: Build PlatformIO Project
run: pio run -e regular -e ROS
working-directory: MicrocontrollerCode
- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: firmware.uf2
path: MicrocontrollerCode/.pio/build/ROS/firmware.uf2
if-no-files-found: warn