Skip to content

Commit a4c3be6

Browse files
making examples list explicit for compile-example ci phase
1 parent 44a7738 commit a4c3be6

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

.github/workflows/compile-examples.yml

+50-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,26 @@ jobs:
2929

3030
env:
3131
SKETCHES_REPORTS_PATH: sketches-reports
32-
32+
UNIVERSAL_SKETCH_PATHS: |
33+
- examples/AP_SimpleWebServer
34+
- examples/ConnectNoEncryption
35+
- examples/ConnectWithWEP
36+
- examples/ConnectWithWPA
37+
- examples/ConnectWithWPA2Enterprise
38+
- examples/Prefs2Struct
39+
- examples/ScanNetworks
40+
- examples/ScanNetworksAdvanced
41+
- examples/SimpleWebServerWiFi
42+
- examples/WiFiAdvancedChatServer
43+
- examples/WiFiChatServer
44+
- examples/WiFiPing
45+
- examples/WiFiSSLClient
46+
- examples/WiFiStorage
47+
- examples/WiFiUdpNtpClient
48+
- examples/WiFiUdpSendReceiveString
49+
- examples/WiFiWebClient
50+
- examples/WiFiWebClientRepeating
51+
- examples/WiFiWebServer
3352
strategy:
3453
fail-fast: false
3554

@@ -56,6 +75,35 @@ jobs:
5675
- name: arduino:mbed_nano
5776
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
5877

78+
include:
79+
# mkrwifi1010
80+
- board:
81+
fqbn: arduino:samd:mkrwifi1010
82+
sketch-paths: |
83+
- examples/PreferencesCounter
84+
- examples/PreferencesValidation
85+
# mkrvidor4000
86+
- board:
87+
fqbn: arduino:samd:mkrvidor4000
88+
sketch-paths: |
89+
- examples/PreferencesCounter
90+
- examples/PreferencesValidation
91+
# nano_33_iot
92+
- board:
93+
fqbn: arduino:samd:nano_33_iot
94+
sketch-paths: |
95+
- examples/PreferencesCounter
96+
- examples/PreferencesValidation
97+
# uno2018
98+
- board:
99+
fqbn: arduino:megaavr:uno2018:mode=on
100+
# nanorp2040connect
101+
- board:
102+
fqbn: arduino:mbed_nano:nanorp2040connect
103+
sketch-paths: |
104+
- examples/PreferencesCounter
105+
- examples/PreferencesValidation
106+
59107
steps:
60108
- name: Checkout
61109
uses: actions/checkout@v4
@@ -71,7 +119,7 @@ jobs:
71119
# Install library dependencies.
72120
- name: VidorPeripherals
73121
sketch-paths: |
74-
- ./examples/
122+
${{ matrix.sketch-paths }}
75123
enable-deltas-report: true
76124
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
77125

0 commit comments

Comments
 (0)