-
Notifications
You must be signed in to change notification settings - Fork 78
78 lines (76 loc) · 2.85 KB
/
compile.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
name: Compile Examples
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- board:
fqbn: Inkplate_Boards:esp32:Inkplate5
additional-sketch-paths: |
- examples/Inkplate5
- board:
fqbn: Inkplate_Boards:esp32:Inkplate5V2
additional-sketch-paths: |
- examples/Inkplate5V2
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6
additional-sketch-paths: |
- examples/Inkplate6
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6V2
additional-sketch-paths: |
- examples/Inkplate6
- board:
fqbn: Inkplate_Boards:esp32:Inkplate10
additional-sketch-paths: |
- examples/Inkplate10
- board:
fqbn: Inkplate_Boards:esp32:Inkplate10V2
additional-sketch-paths: |
- examples/Inkplate10
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6plus
additional-sketch-paths: |
- examples/Inkplate6PLUS
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6plusV2
additional-sketch-paths: |
- examples/Inkplate6PLUS
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6Flick
additional-sketch-paths: |
- examples/Inkplate6FLICK
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6COLOR
additional-sketch-paths: |
- examples/Inkplate6COLOR
- board:
fqbn: Inkplate_Boards:esp32:Inkplate2
additional-sketch-paths: |
- examples/Inkplate2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install ESP32 platform dependencies
run: pip3 install pyserial
- name: Compile examples
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
platforms: |
- source-url: https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json
name: Inkplate_Boards:esp32
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- source-path: ./
- name: ArduinoJson
- name: Time
- source-url: https://github.com/SolderedElectronics/Soldered-MFRC522-RFID-Reader-Arduino-Library.git
- source-url: https://github.com/SolderedElectronics/Soldered-WS2812-Smart-Leds-Arduino-Library.git
- source-url: https://github.com/SolderedElectronics/Soldered-BME280-BME680-Gas-Sensor-Arduino-Library.git
sketch-paths: |
${{ matrix.additional-sketch-paths }}
cli-compile-flags: |
- --warnings="default"