17
17
18
18
# This defines a job for checking the Arduino library format specifications
19
19
# see <https://github.com/marketplace/actions/arduino-arduino-lint-action>
20
+
20
21
lint :
21
22
name : check library format
22
23
runs-on : ubuntu-latest
34
35
35
36
# These jobs are used to compile the examples fot the specific processor/board.
36
37
# see <https://github.com/marketplace/actions/compile-arduino-sketches>
38
+
37
39
compile-uno :
38
40
name : compile uno examples
39
41
runs-on : ubuntu-latest
@@ -43,11 +45,54 @@ jobs:
43
45
- uses : actions/checkout@v2
44
46
45
47
# Compile Examples for UNO
46
- - name : Compile examples on uno
48
+ - name : Compile examples for UNO
47
49
uses : arduino/compile-sketches@v1
48
50
with :
49
51
verbose : true
50
52
fqbn : arduino:avr:uno
51
53
sketch-paths : |
52
54
- 'examples/LiquidCrystal_PCF8574_Test'
53
55
56
+ compile-esp8266 :
57
+ name : compile esp8266 examples
58
+ runs-on : ubuntu-latest
59
+ continue-on-error : true
60
+
61
+ steps :
62
+ - uses : actions/checkout@v2
63
+
64
+ # Compile Examples for ESP8266
65
+ - name : Compile examples for ESP8266
66
+ uses : arduino/compile-sketches@v1
67
+ with :
68
+ verbose : true
69
+ platforms : |
70
+ # Install ESP8266 platform via Boards Manager
71
+ - name: esp8266:esp8266
72
+ source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
73
+ version: 3.0.0
74
+ fqbn : esp8266:esp8266:nodemcuv2
75
+ sketch-paths : |
76
+ - 'examples/LiquidCrystal_PCF8574_Test'
77
+
78
+ compile-esp32 :
79
+ name : compile ESP32 examples
80
+ runs-on : ubuntu-latest
81
+ continue-on-error : true
82
+
83
+ steps :
84
+ - uses : actions/checkout@v2
85
+
86
+ # Compile Examples for ESP32
87
+ - name : Compile examples for ESP32
88
+ uses : arduino/compile-sketches@v1
89
+ with :
90
+ verbose : true
91
+ # Install ESP32 platform via Boards Manager
92
+ platforms : |
93
+ - name: "esp32:esp32"
94
+ source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
95
+ version: 2.0.3
96
+ fqbn : esp32:esp32:esp32
97
+ sketch-paths : |
98
+ - 'examples/LiquidCrystal_PCF8574_Test'
0 commit comments