Files
m5stack-dashboard/.github/workflows/build.yml
T
2026-08-02 08:06:35 +02:00

25 lines
638 B
YAML

name: PlatformIO CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Generate placeholder secrets.h for CI build
run: cp include/secrets.h.example include/secrets.h
- name: Build PlatformIO Project
run: pio run