@@ -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,27 @@ 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 :
21- arduino-platform : ["funhouse_noota"]
27+ arduino-platform :
28+ [
29+ " funhouse_noota" ,
30+ " esp32s3_devkitc_1_n8"
31+ ]
2232 include :
33+ - offset : " 0x0"
2334 - offset : " 0x1000"
35+ arduino-platform : " funhouse_noota"
2436 steps :
37+ - name : " skip if unwanted"
38+ if : |
39+ github.event_name == 'workflow_dispatch' &&
40+ github.event.inputs.board != '' &&
41+ matrix.arduino-platform != github.event.inputs.board
42+ run : |
43+ echo "don't build this one!"; exit 1
2544 - uses : actions/setup-python@v5
2645 with :
2746 python-version : " 3.x"
@@ -105,6 +124,7 @@ jobs:
105124 mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.elf wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.elf
106125 mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.map wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.map
107126 mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.bootloader.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.bootloader.bin
127+ mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.merged.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.merged_auto.bin
108128 mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.partitions.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.partitions.bin
109129 - name : Get Board Flash Parameters
110130 id : get_board_json
@@ -174,6 +194,7 @@ jobs:
174194 build-esp32sx :
175195 name : 🏗️ESP32-Sx
176196 runs-on : ubuntu-latest
197+ continue-on-error : true
177198 strategy :
178199 fail-fast : false
179200 matrix :
@@ -194,6 +215,13 @@ jobs:
194215 " qtpy_esp32s3_n4r2" ,
195216 ]
196217 steps :
218+ - name : " skip if unwanted"
219+ if : |
220+ github.event_name == 'workflow_dispatch' &&
221+ github.event.inputs.board != '' &&
222+ matrix.arduino-platform != github.event.inputs.board
223+ run : |
224+ echo "don't build this one!"; exit 1
197225 - uses : actions/setup-python@v5
198226 with :
199227 python-version : " 3.x"
@@ -278,6 +306,7 @@ jobs:
278306 build-esp32 :
279307 name : 🏗️ESP32/Cx
280308 runs-on : ubuntu-latest
309+ continue-on-error : true
281310 strategy :
282311 fail-fast : false
283312 matrix :
@@ -299,6 +328,13 @@ jobs:
299328 - offset : " 0x0"
300329 arduino-platform : " wippersnapper_feather_esp32c6"
301330 steps :
331+ - name : " skip if unwanted"
332+ if : |
333+ github.event_name == 'workflow_dispatch' &&
334+ github.event.inputs.board != '' &&
335+ matrix.arduino-platform != github.event.inputs.board
336+ run : |
337+ echo "don't build this one!"; exit 1
302338 - uses : actions/setup-python@v5
303339 with :
304340 python-version : " 3.x"
@@ -419,6 +455,7 @@ jobs:
419455 build-samd :
420456 name : 🏗️SAMD
421457 runs-on : ubuntu-latest
458+ continue-on-error : true
422459 strategy :
423460 fail-fast : false
424461 matrix :
@@ -429,6 +466,13 @@ jobs:
429466 " metro_m4_airliftlite_tinyusb" ,
430467 ]
431468 steps :
469+ - name : " skip if unwanted"
470+ if : |
471+ github.event_name == 'workflow_dispatch' &&
472+ github.event.inputs.board != '' &&
473+ matrix.arduino-platform != github.event.inputs.board
474+ run : |
475+ echo "don't build this one!"; exit 1
432476 - uses : actions/setup-python@v5
433477 with :
434478 python-version : " 3.x"
@@ -498,11 +542,19 @@ jobs:
498542 build-rp2040 :
499543 name : 🏗️RP2040
500544 runs-on : ubuntu-latest
545+ continue-on-error : true
501546 strategy :
502547 fail-fast : false
503548 matrix :
504549 arduino-platform : ["picow_rp2040_tinyusb", "picow_rp2350_tinyusb"]
505550 steps :
551+ - name : " skip if unwanted"
552+ if : |
553+ github.event_name == 'workflow_dispatch' &&
554+ github.event.inputs.board != '' &&
555+ matrix.arduino-platform != github.event.inputs.board
556+ run : |
557+ echo "don't build this one!"; exit 1
506558 - uses : actions/setup-python@v5
507559 with :
508560 python-version : " 3.x"
@@ -569,11 +621,19 @@ jobs:
569621 build-esp8266 :
570622 name : 🏗️ESP8266
571623 runs-on : ubuntu-latest
624+ continue-on-error : true
572625 strategy :
573626 fail-fast : false
574627 matrix :
575628 arduino-platform : ["feather_esp8266"]
576629 steps :
630+ - name : " skip if unwanted"
631+ if : |
632+ github.event_name == 'workflow_dispatch' &&
633+ github.event.inputs.board != '' &&
634+ matrix.arduino-platform != github.event.inputs.board
635+ run : |
636+ echo "don't build this one!"; exit 1
577637 - uses : actions/setup-python@v5
578638 with :
579639 python-version : " 3.x"
@@ -647,11 +707,13 @@ jobs:
647707 build-esp32sx-dev :
648708 name : 🏗️ESP32-Sx(DEV)
649709 runs-on : ubuntu-latest
710+ continue-on-error : true
650711 strategy :
651712 fail-fast : false
652713 matrix :
653714 arduino-platform :
654715 [
716+ " esp32s3_devkitc_1_n8_debug" ,
655717 " feather_esp32s2_debug" ,
656718 " feather_esp32s2_tft_debug" ,
657719 " feather_esp32s3_debug" ,
@@ -662,6 +724,13 @@ jobs:
662724 " metro_esp32s3_debug" ,
663725 ]
664726 steps :
727+ - name : " skip if unwanted"
728+ if : |
729+ github.event_name == 'workflow_dispatch' &&
730+ github.event.inputs.board != '' &&
731+ matrix.arduino-platform != github.event.inputs.board
732+ run : |
733+ echo "don't build this one!"; exit 1
665734 - uses : actions/setup-python@v5
666735 with :
667736 python-version : " 3.x"
@@ -746,6 +815,7 @@ jobs:
746815 build-esp32-dev :
747816 name : 🏗️ESP32/Cx(DEV)
748817 runs-on : ubuntu-latest
818+ continue-on-error : true
749819 strategy :
750820 fail-fast : false
751821 matrix :
@@ -758,6 +828,13 @@ jobs:
758828 - offset : " 0x0"
759829 arduino-platform : " wippersnapper_feather_esp32c6_debug"
760830 steps :
831+ - name : " skip if unwanted"
832+ if : |
833+ github.event_name == 'workflow_dispatch' &&
834+ github.event.inputs.board != '' &&
835+ matrix.arduino-platform != github.event.inputs.board
836+ run : |
837+ echo "don't build this one!"; exit 1
761838 - uses : actions/setup-python@v5
762839 with :
763840 python-version : " 3.x"
0 commit comments