@@ -37,25 +37,35 @@ jobs:
37
37
fail-fast : false
38
38
39
39
matrix :
40
- board : [
41
- {"fqbn": "arduino:samd:mkr1000", "type": "mkr1000"},
42
- {"fqbn": "arduino:samd:mkrwifi1010", "type": "nina"},
43
- {"fqbn": "arduino:samd:nano_33_iot", "type": "nina"},
44
- {"fqbn": "arduino:megaavr:uno2018", "type": "megaavr"},
45
- {"fqbn": "arduino:samd:mkrwan1300", "type": "wan"},
46
- {"fqbn": "arduino:samd:mkrgsm1400", "type": "gsm"},
47
- {"fqbn": "arduino:samd:mkrnb1500", "type": "nb"},
48
- {"fqbn": "arduino:mbed:envie_m4", "type": "mbed"},
49
- {"fqbn": "arduino:mbed:envie_m7", "type": "mbed"},
50
- {"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"},
51
- {"fqbn": "esp32:esp32:esp32", "type": "esp32"}
52
- ]
40
+ board :
41
+ - fqbn : arduino:samd:mkr1000
42
+ type : mkr1000
43
+ - fqbn : arduino:samd:mkrwifi1010
44
+ type : nina
45
+ - fqbn : arduino:samd:nano_33_iot
46
+ type : nina
47
+ - fqbn : arduino:megaavr:uno2018
48
+ type : megaavr
49
+ - fqbn : arduino:samd:mkrwan1300
50
+ type : wan
51
+ - fqbn : arduino:samd:mkrgsm1400
52
+ type : gsm
53
+ - fqbn : arduino:samd:mkrnb1500
54
+ type : nb
55
+ - fqbn : arduino:mbed:envie_m4
56
+ type : mbed
57
+ - fqbn : arduino:mbed:envie_m7
58
+ type : mbed
59
+ - fqbn : esp8266:esp8266:huzzah
60
+ type : esp8266
61
+ - fqbn : esp32:esp32:esp32
62
+ type : esp32
53
63
54
64
# make board type-specific customizations to the matrix jobs
55
65
include :
56
66
# MKR 1000
57
67
- board :
58
- type : " mkr1000"
68
+ type : mkr1000
59
69
platforms : |
60
70
# Install Arduino SAMD Boards via Boards Manager for the toolchain
61
71
- name: arduino:samd
68
78
- examples/utility/Provisioning
69
79
# MKR WiFi 1010, Nano 33 IoT
70
80
- board :
71
- type : " nina"
81
+ type : nina
72
82
platforms : |
73
83
# Install Arduino SAMD Boards via Boards Manager for the toolchain
74
84
- name: arduino:samd
84
94
- examples/utility/SelfProvisioning
85
95
# Uno WiFi Rev2
86
96
- board :
87
- type : " megaavr"
97
+ type : megaavr
88
98
platforms : |
89
99
- name: arduino:megaavr
90
100
libraries : |
98
108
- examples/utility/SelfProvisioning
99
109
# LoRaWAN boards
100
110
- board :
101
- type : " wan"
111
+ type : wan
102
112
platforms : |
103
113
- name: arduino:samd
104
114
libraries : |
@@ -109,7 +119,7 @@ jobs:
109
119
sketch-paths :
110
120
# GSM boards
111
121
- board :
112
- type : " gsm"
122
+ type : gsm
113
123
platforms : |
114
124
- name: arduino:samd
115
125
libraries : |
@@ -121,7 +131,7 @@ jobs:
121
131
- examples/utility/Provisioning
122
132
# NB boards
123
133
- board :
124
- type : " nb "
134
+ type : nb
125
135
platforms : |
126
136
- name: arduino:samd
127
137
libraries : |
@@ -133,7 +143,7 @@ jobs:
133
143
- examples/utility/Provisioning
134
144
# Portenta
135
145
- board :
136
- type : " mbed"
146
+ type : mbed
137
147
platforms : |
138
148
# Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
139
149
- name: arduino:mbed
@@ -147,7 +157,7 @@ jobs:
147
157
- examples/utility/Provisioning
148
158
# ESP8266 boards
149
159
- board :
150
- type : " esp8266"
160
+ type : esp8266
151
161
platforms : |
152
162
# Install ESP8266 platform via Boards Manager
153
163
- name: esp8266:esp8266
@@ -157,7 +167,7 @@ jobs:
157
167
sketch-paths :
158
168
# ESP32 boards
159
169
- board :
160
- type : " esp32"
170
+ type : esp32
161
171
platforms : |
162
172
# Install ESP32 platform via Boards Manager
163
173
- name: esp32:esp32
@@ -176,7 +186,7 @@ jobs:
176
186
uses : actions/checkout@v2
177
187
with :
178
188
repository : arduino/ArduinoCore-mbed
179
- # the arduino/actions/libraries/ compile-examples action will install the platform from this path
189
+ # the arduino/compile-sketches action will install the platform from this path
180
190
path : ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}
181
191
182
192
- name : Checkout ArduinoCore-API
@@ -185,7 +195,6 @@ jobs:
185
195
uses : actions/checkout@v2
186
196
with :
187
197
repository : arduino/ArduinoCore-API
188
- # as specified at https://github.com/arduino/ArduinoCore-mbed/blob/master/README.md#installation
189
198
path : ${{ env.ARDUINOCORE_API_STAGING_PATH }}
190
199
191
200
- name : Install ArduinoCore-API
@@ -199,7 +208,7 @@ jobs:
199
208
run : pip3 install pyserial
200
209
201
210
- name : Compile examples
202
- uses : arduino/compile-sketches@main
211
+ uses : arduino/compile-sketches@v1
203
212
with :
204
213
github-token : ${{ secrets.GITHUB_TOKEN }}
205
214
platforms : ${{ matrix.platforms }}
@@ -210,7 +219,7 @@ jobs:
210
219
sketch-paths : |
211
220
${{ env.UNIVERSAL_SKETCH_PATHS }}
212
221
${{ matrix.sketch-paths }}
213
- enable-deltas-report : ' true'
222
+ enable-deltas-report : " true"
214
223
sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
215
224
216
225
- name : Write data to size trends report spreadsheet
@@ -224,7 +233,7 @@ jobs:
224
233
225
234
- name : Save memory usage change report as artifact
226
235
if : github.event_name == 'pull_request'
227
- uses : actions/upload-artifact@v1
236
+ uses : actions/upload-artifact@v2
228
237
with :
229
238
name : ${{ env.SKETCHES_REPORTS_PATH }}
230
239
path : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments