Implement emergency safety handling (#15) #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Platform.IO environment | |
| shell: bash | |
| run: | | |
| sudo apt update | |
| export DEBIAN_FRONTEND=noninteractive | |
| sudo apt install -y git curl python3 python3-pip python3-venv git cmake | |
| curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py | |
| python3 get-platformio.py | |
| - name: Build | |
| shell: bash | |
| run: | | |
| export PATH=$PATH:~/.platformio/penv/bin/ | |
| pio run -v | |
| - name: Archive firmware.uf2 | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: firmware.uf2 | |
| path: .pio/build/default/firmware.uf2 |