-
Notifications
You must be signed in to change notification settings - Fork 78
88 lines (88 loc) · 2.96 KB
/
main.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
87
88
name: Platform IO CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- board: "esp32dev"
smartboard: "ESP32_2432S024N"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S024R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S024C"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S028R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S032N"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S032R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S032C"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_3248S035R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_3248S035C"
color16swap: 1
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_1732S019N"
color16swap: 1
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_1732S019C"
color16swap: 1
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_4827S043R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_4827S043C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070C"
color16swap: 0
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.x"
architecture: "x64"
- name: Install PlatformIO
run: python -m pip install platformio
- name: Build firmware
run: pio ci --lib="." --project-conf "example/platformio.ini" --environment ${{matrix.board}} "example/main.cpp"
env:
PLATFORMIO_BUILD_FLAGS: -D${{matrix.smartboard}} -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h" -DLV_COLOR_16_SWAP=${{matrix.color16swap}}