-
Notifications
You must be signed in to change notification settings - Fork 29
86 lines (82 loc) · 2.65 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: PlatformIO CI
on:
pull_request:
push:
paths:
- "examples/**"
- "src/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
examples:
[
examples/Factory,
examples/LumenMeter,
examples/PMU_ADC,
examples/PMU_Interrupt,
examples/QWIIC_GPS_Shield,
examples/QWIIC_HP303BSensor,
examples/QWIIC_MAX3010X,
examples/TFT_eSPI_Sprite,
examples/Touchpad,
examples/lvgl/event,
examples/lvgl/get_started,
examples/lvgl/layouts/flex,
examples/lvgl/layouts/grid,
examples/lvgl/scroll,
examples/lvgl/style,
examples/lvgl/third_party/ImageDecoder,
examples/lvgl/third_party/gif,
examples/lvgl/widgets/animimg,
examples/lvgl/widgets/arc,
examples/lvgl/widgets/bar,
examples/lvgl/widgets/btn,
examples/lvgl/widgets/btnmatrix,
examples/lvgl/widgets/calendar,
examples/lvgl/widgets/canvas,
examples/lvgl/widgets/chart,
examples/lvgl/widgets/checkbox,
examples/lvgl/widgets/colorwheel,
examples/lvgl/widgets/dropdown,
examples/lvgl/widgets/img,
examples/lvgl/widgets/imgbtn,
examples/lvgl/widgets/keyboard,
examples/lvgl/widgets/label,
examples/lvgl/widgets/led,
examples/lvgl/widgets/line,
examples/lvgl/widgets/list,
examples/lvgl/widgets/menu,
examples/lvgl/widgets/meter,
examples/lvgl/widgets/msgbox,
examples/lvgl/widgets/obj,
examples/lvgl/widgets/roller,
examples/lvgl/widgets/slider,
examples/lvgl/widgets/span,
examples/lvgl/widgets/spinbox,
examples/lvgl/widgets/spinner,
examples/lvgl/widgets/switch,
examples/lvgl/widgets/table,
examples/lvgl/widgets/tabview,
examples/lvgl/widgets/textarea,
examples/lvgl/widgets/tileview,
examples/lvgl/widgets/win,
]
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=${{ matrix.examples }}
pio run