-
Notifications
You must be signed in to change notification settings - Fork 203
56 lines (53 loc) · 1.24 KB
/
platformio.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: PlatformIO CI
on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "src/**"
- "lib/**"
- "platformio.ini"
- ".github/workflows/platformio.yml"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
example:
- Arduino_GFXDemo
- Arduino_GFX_PDQgraphicstest
- GetBatteryVoltage
- I2CScan
- ImageScroll
- MPR121TouchSensor
- PCBClock
- PokerS3
- SerialExample
- T-Display-S3-MIDI
- TFT_Rainbow
- factory
- lv_demos
- nes
- ota
- sd
- tft
- touch_test
- usb_hid_pad
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: |
export PLATFORMIO_SRC_DIR="examples/${{ matrix.example }}"
pio run -e ${{ matrix.example }}