Skip to content

Added rules

Added rules #2

Workflow file for this run

name: PlatformIO CI
on:
pull_request:
push:
paths:
- "examples/**"
- "src/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
example:
[
factory,
led,
mic,
tft,
sound,
TFT_Rainbow,
CC1101_Transmit,
CC1101_Receive,
]
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Run PlatformIO
run: pio run -e ${{ matrix.example }}