butns/.github/workflows/compile-sketch.yml
2025-02-08 12:53:54 +01:00

28 lines
No EOL
590 B
YAML

name: Compile Firmware
on:
- push
- pull_request
jobs:
compile-sketches:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- 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: pip install --upgrade platformio
- name: Build PlatformIO Project
run: cd firmware && pio run