@@ -5,6 +5,11 @@ name: WipperSnapper Build CI
55
66on :
77 workflow_dispatch :
8+ inputs :
9+ board :
10+ description : ' Build ONLY this board (must match a matrix entry exactly, or leave empty for all)'
11+ required : false
12+ default : ' '
813 pull_request :
914 workflow_call :
1015 secrets :
@@ -15,13 +20,21 @@ jobs:
1520 build-esp32sx-esptool :
1621 name : 🏗️ESP32-Sx(lvgl)
1722 runs-on : ubuntu-latest
23+ continue-on-error : true
1824 strategy :
1925 fail-fast : false
2026 matrix :
2127 arduino-platform : ["funhouse_noota"]
2228 include :
2329 - offset : " 0x1000"
2430 steps :
31+ - name : " skip if unwanted"
32+ if : |
33+ github.event_name == 'workflow_dispatch' &&
34+ github.event.inputs.board != '' &&
35+ matrix.arduino-platform != github.event.inputs.board
36+ run : |
37+ echo "don't build this one!"; exit 1
2538 - uses : actions/setup-python@v5
2639 with :
2740 python-version : " 3.x"
@@ -174,6 +187,7 @@ jobs:
174187 build-esp32sx :
175188 name : 🏗️ESP32-Sx
176189 runs-on : ubuntu-latest
190+ continue-on-error : true
177191 strategy :
178192 fail-fast : false
179193 matrix :
@@ -194,6 +208,13 @@ jobs:
194208 " qtpy_esp32s3_n4r2" ,
195209 ]
196210 steps :
211+ - name : " skip if unwanted"
212+ if : |
213+ github.event_name == 'workflow_dispatch' &&
214+ github.event.inputs.board != '' &&
215+ matrix.arduino-platform != github.event.inputs.board
216+ run : |
217+ echo "don't build this one!"; exit 1
197218 - uses : actions/setup-python@v5
198219 with :
199220 python-version : " 3.x"
@@ -278,6 +299,7 @@ jobs:
278299 build-esp32 :
279300 name : 🏗️ESP32/Cx
280301 runs-on : ubuntu-latest
302+ continue-on-error : true
281303 strategy :
282304 fail-fast : false
283305 matrix :
@@ -299,6 +321,13 @@ jobs:
299321 - offset : " 0x0"
300322 arduino-platform : " wippersnapper_feather_esp32c6"
301323 steps :
324+ - name : " skip if unwanted"
325+ if : |
326+ github.event_name == 'workflow_dispatch' &&
327+ github.event.inputs.board != '' &&
328+ matrix.arduino-platform != github.event.inputs.board
329+ run : |
330+ echo "don't build this one!"; exit 1
302331 - uses : actions/setup-python@v5
303332 with :
304333 python-version : " 3.x"
@@ -419,6 +448,7 @@ jobs:
419448 build-samd :
420449 name : 🏗️SAMD
421450 runs-on : ubuntu-latest
451+ continue-on-error : true
422452 strategy :
423453 fail-fast : false
424454 matrix :
@@ -429,6 +459,13 @@ jobs:
429459 " metro_m4_airliftlite_tinyusb" ,
430460 ]
431461 steps :
462+ - name : " skip if unwanted"
463+ if : |
464+ github.event_name == 'workflow_dispatch' &&
465+ github.event.inputs.board != '' &&
466+ matrix.arduino-platform != github.event.inputs.board
467+ run : |
468+ echo "don't build this one!"; exit 1
432469 - uses : actions/setup-python@v5
433470 with :
434471 python-version : " 3.x"
@@ -498,11 +535,19 @@ jobs:
498535 build-rp2040 :
499536 name : 🏗️RP2040
500537 runs-on : ubuntu-latest
538+ continue-on-error : true
501539 strategy :
502540 fail-fast : false
503541 matrix :
504542 arduino-platform : ["picow_rp2040_tinyusb", "picow_rp2350_tinyusb"]
505543 steps :
544+ - name : " skip if unwanted"
545+ if : |
546+ github.event_name == 'workflow_dispatch' &&
547+ github.event.inputs.board != '' &&
548+ matrix.arduino-platform != github.event.inputs.board
549+ run : |
550+ echo "don't build this one!"; exit 1
506551 - uses : actions/setup-python@v5
507552 with :
508553 python-version : " 3.x"
@@ -569,11 +614,19 @@ jobs:
569614 build-esp8266 :
570615 name : 🏗️ESP8266
571616 runs-on : ubuntu-latest
617+ continue-on-error : true
572618 strategy :
573619 fail-fast : false
574620 matrix :
575621 arduino-platform : ["feather_esp8266"]
576622 steps :
623+ - name : " skip if unwanted"
624+ if : |
625+ github.event_name == 'workflow_dispatch' &&
626+ github.event.inputs.board != '' &&
627+ matrix.arduino-platform != github.event.inputs.board
628+ run : |
629+ echo "don't build this one!"; exit 1
577630 - uses : actions/setup-python@v5
578631 with :
579632 python-version : " 3.x"
@@ -647,6 +700,7 @@ jobs:
647700 build-esp32sx-dev :
648701 name : 🏗️ESP32-Sx(DEV)
649702 runs-on : ubuntu-latest
703+ continue-on-error : true
650704 strategy :
651705 fail-fast : false
652706 matrix :
@@ -662,6 +716,13 @@ jobs:
662716 " metro_esp32s3_debug" ,
663717 ]
664718 steps :
719+ - name : " skip if unwanted"
720+ if : |
721+ github.event_name == 'workflow_dispatch' &&
722+ github.event.inputs.board != '' &&
723+ matrix.arduino-platform != github.event.inputs.board
724+ run : |
725+ echo "don't build this one!"; exit 1
665726 - uses : actions/setup-python@v5
666727 with :
667728 python-version : " 3.x"
@@ -746,6 +807,7 @@ jobs:
746807 build-esp32-dev :
747808 name : 🏗️ESP32/Cx(DEV)
748809 runs-on : ubuntu-latest
810+ continue-on-error : true
749811 strategy :
750812 fail-fast : false
751813 matrix :
@@ -758,6 +820,13 @@ jobs:
758820 - offset : " 0x0"
759821 arduino-platform : " wippersnapper_feather_esp32c6_debug"
760822 steps :
823+ - name : " skip if unwanted"
824+ if : |
825+ github.event_name == 'workflow_dispatch' &&
826+ github.event.inputs.board != '' &&
827+ matrix.arduino-platform != github.event.inputs.board
828+ run : |
829+ echo "don't build this one!"; exit 1
761830 - uses : actions/setup-python@v5
762831 with :
763832 python-version : " 3.x"
0 commit comments