1
1
# This is a basic workflow to help you get started with Actions for Arduino library projects
2
2
3
- name : Arduino Library Checks
3
+ name : Compile Examples
4
4
5
5
# Controls when the action will run.
6
6
on :
@@ -17,10 +17,12 @@ jobs:
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
23
-
24
+ # continue-on-error: true
25
+
24
26
steps :
25
27
- uses : actions/checkout@v4
26
28
@@ -33,16 +35,16 @@ jobs:
33
35
34
36
# These jobs are used to compile the examples fot the specific processor/board.
35
37
# see <https://github.com/marketplace/actions/compile-arduino-sketches>
38
+
36
39
compile-uno :
37
- name : compile uno examples
40
+ name : use avr: uno
38
41
runs-on : ubuntu-latest
39
- # continue-on-error: true
40
42
41
43
steps :
42
44
- uses : actions/checkout@v4
43
45
44
46
# Compile Examples for UNO
45
- - name : Compile examples on uno
47
+ - name : Compile examples on Uno
46
48
uses : arduino/compile-sketches@v1
47
49
with :
48
50
verbose : true
55
57
- 'examples/SpecialInput'
56
58
57
59
compile-esp8266 :
58
- name : compile esp8266 examples
60
+ name : use esp8266
59
61
runs-on : ubuntu-latest
60
62
61
63
steps :
78
80
- 'examples/SpecialInput'
79
81
80
82
compile-esp32 :
81
- name : build examples on ESP32
83
+ name : use ESP32 2.x
82
84
runs-on : ubuntu-latest
83
85
84
86
steps :
91
93
# Install ESP32 platform via Boards Manager
92
94
- name: "esp32:esp32"
93
95
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
94
- # version: 2.0.4 doesn't work with CLI caused by issue https://github.com/espressif/arduino-esp32/pull/7060
95
96
version: 2.0.8
96
97
fqbn : esp32:esp32:esp32
97
98
sketch-paths : |
@@ -101,10 +102,10 @@ jobs:
101
102
- 'examples/InterruptOneButton'
102
103
- 'examples/SpecialInput'
103
104
104
- compile-arduino-nano- esp32 :
105
- name : build examples on Arduino Nano ESP32
105
+ compile-esp32-v3 :
106
+ name : use ESP32 3.x
106
107
runs-on : ubuntu-latest
107
-
108
+
108
109
steps :
109
110
- uses : actions/checkout@v4
110
111
- name : compile sketches
@@ -115,25 +116,23 @@ jobs:
115
116
# Install ESP32 platform via Boards Manager
116
117
- name: "esp32:esp32"
117
118
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
118
- # version: 2.0.4 doesn't work with CLI caused by issue https://github.com/espressif/arduino-esp32/pull/7060
119
- version: 2.0.8
119
+ version: 3.0.4
120
120
fqbn : esp32:esp32:esp32
121
121
sketch-paths : |
122
122
- 'examples/SimpleOneButton'
123
123
- 'examples/TwoButtons'
124
124
- 'examples/BlinkMachine'
125
125
- 'examples/InterruptOneButton'
126
126
- 'examples/SpecialInput'
127
-
128
- compile-arduino-nano-eps32 :
129
- name : compile examples for Arduinop Nano ESP32
127
+
128
+ compile-arduino-nano-esp32 :
129
+ name : use Arduino Nano ESP32
130
130
runs-on : ubuntu-latest
131
131
132
132
steps :
133
133
- uses : actions/checkout@v4
134
134
135
- # Compile Examples for UNO
136
- - name : Compile examples on uno
135
+ - name : compile sketches
137
136
uses : arduino/compile-sketches@v1
138
137
with :
139
138
verbose : true
0 commit comments