Skip to content

Commit 2a11346

Browse files
authored
Update build-esp32.yml
1 parent 00ee06c commit 2a11346

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/build-esp32.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ jobs:
3636

3737
- name: Build Examples
3838
run: |
39+
EXCLUDE_EXAMPLES="ESP32-CAM ESP32-CAM-PIR ESP_OTA Ethernet advanced echoBot_UnoR4 echoBot_wifiNINA"
40+
3941
for i in `ls examples`; do
42+
# skip excluded examples
43+
if [[ $EXCLUDE_EXAMPLES == *"$i"* ]]; then
44+
echo "Skipping: $i"
45+
continue
46+
fi
47+
4048
echo "============================================================="
4149
echo "Building examples/$i..."
4250
echo "============================================================="
@@ -118,7 +126,15 @@ jobs:
118126
119127
- name: Build Examples
120128
run: |
129+
EXCLUDE_EXAMPLES="ESP32-CAM ESP32-CAM-PIR ESP_OTA Ethernet advanced echoBot_UnoR4 echoBot_wifiNINA"
130+
121131
for i in `ls examples`; do
132+
# skip excluded examples
133+
if [[ $EXCLUDE_EXAMPLES == *"$i"* ]]; then
134+
echo "Skipping: $i"
135+
continue
136+
fi
137+
122138
echo "============================================================="
123139
echo "Building examples/$i..."
124140
echo "============================================================="
@@ -159,7 +175,15 @@ jobs:
159175
160176
- name: Build Examples
161177
run: |
178+
EXCLUDE_EXAMPLES="ESP32-CAM ESP32-CAM-PIR ESP_OTA Ethernet advanced echoBot_UnoR4 echoBot_wifiNINA"
179+
162180
for i in `ls examples`; do
181+
# skip excluded examples
182+
if [[ $EXCLUDE_EXAMPLES == *"$i"* ]]; then
183+
echo "Skipping: $i"
184+
continue
185+
fi
186+
163187
echo "============================================================="
164188
echo "Building examples/$i..."
165189
echo "============================================================="

0 commit comments

Comments
 (0)