Skip to content

Commit d2ee893

Browse files
pennamzfields
authored andcommitted
ci: do not build Notecard example for esp8266 architecture
1 parent d7004fe commit d2ee893

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/compile-examples.yml

+41
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- name: MKRWAN
3737
- name: Arduino_Cellular
3838
- name: Blues Wireless Notecard
39+
SKETCH_PATHS: |
40+
- examples/ConnectionHandlerDemo
3941
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
4042
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
4143
SKETCHES_REPORTS_PATH: sketches-reports
@@ -107,6 +109,8 @@ jobs:
107109
platforms: |
108110
# Install Arduino SAMD Boards via Boards Manager
109111
- name: arduino:samd
112+
sketch-paths: |
113+
- examples/ConnectionHandlerDemo-Notecard
110114
- board:
111115
platform-name: arduino:mbed
112116
platforms: |
@@ -115,21 +119,53 @@ jobs:
115119
# Overwrite the Arduino mbed-Enabled Boards release version with version from the tip of the default branch (located in local path because of the need to first install ArduinoCore-API)
116120
- source-path: extras/ArduinoCore-mbed
117121
name: arduino:mbed
122+
sketch-paths: |
123+
- examples/ConnectionHandlerDemo-Notecard
124+
- board:
125+
platform-name: arduino:mbed_portenta
126+
sketch-paths: |
127+
- examples/ConnectionHandlerDemo-Notecard
128+
- board:
129+
platform-name: arduino:mbed_nano
130+
sketch-paths: |
131+
- examples/ConnectionHandlerDemo-Notecard
132+
- board:
133+
platform-name: arduino:mbed_nicla
134+
sketch-paths: |
135+
- examples/ConnectionHandlerDemo-Notecard
136+
- board:
137+
platform-name: arduino:mbed_opta
138+
sketch-paths: |
139+
- examples/ConnectionHandlerDemo-Notecard
140+
- board:
141+
platform-name: arduino:mbed_giga
142+
sketch-paths: |
143+
- examples/ConnectionHandlerDemo-Notecard
144+
- board:
145+
platform-name: arduino:mbed_edge
146+
sketch-paths: |
147+
- examples/ConnectionHandlerDemo-Notecard
118148
- board:
119149
platform-name: arduino:renesas_portenta
120150
platforms: |
121151
# Install Arduino Renesas portenta Boards via Boards Manager
122152
- name: arduino:renesas_portenta
153+
sketch-paths: |
154+
- examples/ConnectionHandlerDemo-Notecard
123155
- board:
124156
platform-name: arduino:renesas_uno
125157
platforms: |
126158
# Install Arduino Renesas uno Boards via Boards Manager
127159
- name: arduino:renesas_uno
160+
sketch-paths: |
161+
- examples/ConnectionHandlerDemo-Notecard
128162
- board:
129163
platform-name: arduino:esp32
130164
platforms: |
131165
# Install Arduino ESP32 Boards via Boards Manager
132166
- name: arduino:esp32
167+
sketch-paths: |
168+
- examples/ConnectionHandlerDemo-Notecard
133169
- board:
134170
platform-name: esp8266:esp8266
135171
platforms: |
@@ -143,6 +179,8 @@ jobs:
143179
# Install ESP32 platform via Boards Manager
144180
- name: esp32:esp32
145181
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
182+
sketch-paths: |
183+
- examples/ConnectionHandlerDemo-Notecard
146184
147185
steps:
148186
- uses: actions/checkout@v4
@@ -181,6 +219,9 @@ jobs:
181219
platforms: ${{ matrix.platforms }}
182220
fqbn: ${{ matrix.board.fqbn }}
183221
libraries: ${{ env.LIBRARIES }}
222+
sketch-paths: |
223+
${{ env.SKETCH_PATHS }}
224+
${{ matrix.sketch-paths }}
184225
enable-deltas-report: 'true'
185226
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
186227

0 commit comments

Comments
 (0)