Skip to content

Commit b11b062

Browse files
committed
ci: do not build Notecard example for esp8266 architecture
1 parent 89c7f03 commit b11b062

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 17 additions & 0 deletions
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,29 @@ 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
118124
- board:
119125
platform-name: arduino:renesas_portenta
120126
platforms: |
121127
# Install Arduino Renesas portenta Boards via Boards Manager
122128
- name: arduino:renesas_portenta
129+
sketch-paths: |
130+
- examples/ConnectionHandlerDemo-Notecard
123131
- board:
124132
platform-name: arduino:renesas_uno
125133
platforms: |
126134
# Install Arduino Renesas uno Boards via Boards Manager
127135
- name: arduino:renesas_uno
136+
sketch-paths: |
137+
- examples/ConnectionHandlerDemo-Notecard
128138
- board:
129139
platform-name: arduino:esp32
130140
platforms: |
131141
# Install Arduino ESP32 Boards via Boards Manager
132142
- name: arduino:esp32
143+
sketch-paths: |
144+
- examples/ConnectionHandlerDemo-Notecard
133145
- board:
134146
platform-name: esp8266:esp8266
135147
platforms: |
@@ -143,6 +155,8 @@ jobs:
143155
# Install ESP32 platform via Boards Manager
144156
- name: esp32:esp32
145157
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
158+
sketch-paths: |
159+
- examples/ConnectionHandlerDemo-Notecard
146160
147161
steps:
148162
- uses: actions/checkout@v4
@@ -181,6 +195,9 @@ jobs:
181195
platforms: ${{ matrix.platforms }}
182196
fqbn: ${{ matrix.board.fqbn }}
183197
libraries: ${{ env.LIBRARIES }}
198+
sketch-paths: |
199+
${{ env.SKETCH_PATHS }}
200+
${{ matrix.sketch-paths }}
184201
enable-deltas-report: 'true'
185202
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
186203

0 commit comments

Comments
 (0)