Skip to content

Commit 0eadc4a

Browse files
authored
Merge pull request #67 from per1234/update-compile-sketches-api
Use modern API of `arduino/compile-sketches` action
2 parents 5cca5c1 + cdd2dd6 commit 0eadc4a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/compile-examples.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
env:
28-
LIBRARIES: Arduino_DebugUtils WiFi101 WiFiNINA MKRGSM MKRNB MKRWAN
28+
LIBRARIES: |
29+
# Install the Arduino_ConnectionHandler library from the repository
30+
- source-path: ./
31+
- name: Arduino_DebugUtils
32+
- name: WiFi101
33+
- name: WiFiNINA
34+
- name: MKRGSM
35+
- name: MKRNB
36+
- name: MKRWAN
2937
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
3038
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
3139
SKETCHES_REPORTS_PATH: sketches-reports
@@ -123,8 +131,7 @@ jobs:
123131
platforms: ${{ matrix.platforms }}
124132
fqbn: ${{ matrix.board.fqbn }}
125133
libraries: ${{ env.LIBRARIES }}
126-
size-report-sketch: 'ConnectionHandlerDemo'
127-
enable-size-deltas-report: 'true'
134+
enable-deltas-report: 'true'
128135
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
129136

130137
- name: Save memory usage change report as artifact

0 commit comments

Comments
 (0)