@@ -37,25 +37,35 @@ jobs:
3737 fail-fast : false
3838
3939 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
5363
5464 # make board type-specific customizations to the matrix jobs
5565 include :
5666 # MKR 1000
5767 - board :
58- type : " mkr1000"
68+ type : mkr1000
5969 platforms : |
6070 # Install Arduino SAMD Boards via Boards Manager for the toolchain
6171 - name: arduino:samd
6878 - examples/utility/Provisioning
6979 # MKR WiFi 1010, Nano 33 IoT
7080 - board :
71- type : " nina"
81+ type : nina
7282 platforms : |
7383 # Install Arduino SAMD Boards via Boards Manager for the toolchain
7484 - name: arduino:samd
8494 - examples/utility/SelfProvisioning
8595 # Uno WiFi Rev2
8696 - board :
87- type : " megaavr"
97+ type : megaavr
8898 platforms : |
8999 - name: arduino:megaavr
90100 libraries : |
98108 - examples/utility/SelfProvisioning
99109 # LoRaWAN boards
100110 - board :
101- type : " wan"
111+ type : wan
102112 platforms : |
103113 - name: arduino:samd
104114 libraries : |
@@ -109,7 +119,7 @@ jobs:
109119 sketch-paths :
110120 # GSM boards
111121 - board :
112- type : " gsm"
122+ type : gsm
113123 platforms : |
114124 - name: arduino:samd
115125 libraries : |
@@ -121,7 +131,7 @@ jobs:
121131 - examples/utility/Provisioning
122132 # NB boards
123133 - board :
124- type : " nb "
134+ type : nb
125135 platforms : |
126136 - name: arduino:samd
127137 libraries : |
@@ -133,7 +143,7 @@ jobs:
133143 - examples/utility/Provisioning
134144 # Portenta
135145 - board :
136- type : " mbed"
146+ type : mbed
137147 platforms : |
138148 # Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
139149 - name: arduino:mbed
@@ -147,7 +157,7 @@ jobs:
147157 - examples/utility/Provisioning
148158 # ESP8266 boards
149159 - board :
150- type : " esp8266"
160+ type : esp8266
151161 platforms : |
152162 # Install ESP8266 platform via Boards Manager
153163 - name: esp8266:esp8266
@@ -157,7 +167,7 @@ jobs:
157167 sketch-paths :
158168 # ESP32 boards
159169 - board :
160- type : " esp32"
170+ type : esp32
161171 platforms : |
162172 # Install ESP32 platform via Boards Manager
163173 - name: esp32:esp32
@@ -176,7 +186,7 @@ jobs:
176186 uses : actions/checkout@v2
177187 with :
178188 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
180190 path : ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}
181191
182192 - name : Checkout ArduinoCore-API
@@ -185,7 +195,6 @@ jobs:
185195 uses : actions/checkout@v2
186196 with :
187197 repository : arduino/ArduinoCore-API
188- # as specified at https://github.com/arduino/ArduinoCore-mbed/blob/master/README.md#installation
189198 path : ${{ env.ARDUINOCORE_API_STAGING_PATH }}
190199
191200 - name : Install ArduinoCore-API
@@ -199,7 +208,7 @@ jobs:
199208 run : pip3 install pyserial
200209
201210 - name : Compile examples
202- uses : arduino/compile-sketches@main
211+ uses : arduino/compile-sketches@v1
203212 with :
204213 github-token : ${{ secrets.GITHUB_TOKEN }}
205214 platforms : ${{ matrix.platforms }}
@@ -210,7 +219,7 @@ jobs:
210219 sketch-paths : |
211220 ${{ env.UNIVERSAL_SKETCH_PATHS }}
212221 ${{ matrix.sketch-paths }}
213- enable-deltas-report : ' true'
222+ enable-deltas-report : " true"
214223 sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
215224
216225 - name : Write data to size trends report spreadsheet
@@ -224,7 +233,7 @@ jobs:
224233
225234 - name : Save memory usage change report as artifact
226235 if : github.event_name == 'pull_request'
227- uses : actions/upload-artifact@v1
236+ uses : actions/upload-artifact@v2
228237 with :
229238 name : ${{ env.SKETCHES_REPORTS_PATH }}
230239 path : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments