25
25
- name: Arduino_DebugUtils
26
26
- name: ArduinoMqttClient
27
27
# sketch paths to compile (recursive) for all boards
28
- UNIVERSAL_SKETCH_PATHS : ' "examples/ArduinoIoTCloud-Advanced" "examples/ArduinoIoTCloud-Basic" "examples/utility/ArduinoIoTCloud_Travis_CI"'
28
+ UNIVERSAL_SKETCH_PATHS : |
29
+ - examples/ArduinoIoTCloud-Advanced
30
+ - examples/ArduinoIoTCloud-Basic
31
+ - examples/utility/ArduinoIoTCloud_Travis_CI
29
32
ARDUINOCORE_MBED_STAGING_PATH : extras/ArduinoCore-mbed
30
33
ARDUINOCORE_API_STAGING_PATH : extras/ArduinoCore-API
34
+ SKETCHES_REPORTS_PATH : sketches-reports
31
35
32
36
strategy :
33
37
fail-fast : false
57
61
- name: ArduinoECCX08
58
62
- name: RTCZero
59
63
- name: WiFi101
60
- sketch-paths : ' "examples/utility/Provisioning"'
64
+ sketch-paths : |
65
+ - examples/utility/Provisioning
61
66
# MKR WiFi 1010, Nano 33 IoT
62
67
- board :
63
68
type : " nina"
70
75
- name: WiFiNINA
71
76
- name: Arduino_JSON
72
77
- name: ArduinoBearSSL
73
- sketch-paths : ' "examples/utility/Provisioning" "examples/utility/SelfProvisioning"'
78
+ sketch-paths : |
79
+ - examples/utility/Provisioning
80
+ - examples/utility/SelfProvisioning
74
81
# LoRaWAN boards
75
82
- board :
76
83
type : " wan"
90
97
- name: ArduinoECCX08
91
98
- name: RTCZero
92
99
- name: MKRGSM
93
- sketch-paths : ' "examples/utility/Provisioning"'
100
+ sketch-paths : |
101
+ - examples/utility/Provisioning
94
102
# NB boards
95
103
- board :
96
104
type : " nb"
@@ -100,7 +108,8 @@ jobs:
100
108
- name: ArduinoECCX08
101
109
- name: RTCZero
102
110
- name: MKRNB
103
- sketch-paths : ' "examples/utility/Provisioning"'
111
+ sketch-paths : |
112
+ - examples/utility/Provisioning
104
113
# Portenta
105
114
- board :
106
115
type : " mbed"
@@ -112,7 +121,8 @@ jobs:
112
121
name: arduino:mbed
113
122
libraries : |
114
123
- name: ArduinoECCX08
115
- sketch-paths : ' "examples/utility/Provisioning"'
124
+ sketch-paths : |
125
+ - examples/utility/Provisioning
116
126
# ESP8266 boards
117
127
- board :
118
128
type : " esp8266"
@@ -159,28 +169,31 @@ jobs:
159
169
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
160
170
161
171
- name : Compile examples
162
- uses : arduino/actions/libraries/ compile-examples@master
172
+ uses : arduino/compile-sketches@main
163
173
with :
164
174
platforms : ${{ matrix.platforms }}
165
175
fqbn : ${{ matrix.board.fqbn }}
166
176
libraries : |
167
177
${{ env.UNIVERSAL_LIBRARIES }}
168
178
${{ matrix.libraries }}
169
- sketch-paths : " ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.sketch-paths }}"
170
- size-report-sketch : ' ArduinoIoTCloud_Travis_CI'
171
- enable-size-deltas-report : ' true'
179
+ sketch-paths : |
180
+ ${{ env.UNIVERSAL_SKETCH_PATHS }}
181
+ ${{ matrix.sketch-paths }}
182
+ enable-deltas-report : ' true'
183
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
172
184
173
185
- name : Write data to size trends report spreadsheet
174
186
# Update report on every push to the master branch
175
187
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
176
- uses : arduino/actions/libraries/ report-size-trends@master
188
+ uses : arduino/report-size-trends@main
177
189
with :
190
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
178
191
google-key-file : ${{ secrets.GOOGLE_KEY_FILE }}
179
192
spreadsheet-id : 1I6NZkpZpf8KugBkE92adB1Z3_b7ZepOpCdYTOigJpN4
180
193
181
194
- name : Save memory usage change report as artifact
182
195
if : github.event_name == 'pull_request'
183
196
uses : actions/upload-artifact@v1
184
197
with :
185
- name : ' size-deltas-reports '
186
- path : ' size-deltas-reports '
198
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
199
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments