Skip to content

Update action

Update action #116

Workflow file for this run

name: PlatformIO CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
example:
[
GetBatteryVoltage,
I2CScan,
I2SMicrophone,
ImageScroll,
MPR121TouchSensor,
SerialExample,
T-Display-S3-MIDI,
TFT_Rainbow,
arduino_gfx_demo,
factory,
lv_demos,
nes,
ota,
sd,
tft,
touch_test,
usb_hid_pad,
]
env:
EXAMPLES: ${{matrix.example}}
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 $EXAMPLES