@@ -5,6 +5,11 @@ name: WipperSnapper Build CI
5
5
6
6
on :
7
7
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 : ' '
8
13
pull_request :
9
14
workflow_call :
10
15
secrets :
21
26
arduino-platform : ["funhouse_noota"]
22
27
include :
23
28
- offset : " 0x1000"
29
+ if : |
30
+ github.event_name != 'workflow_dispatch' ||
31
+ github.event.inputs.board == '' ||
32
+ matrix.arduino-platform == github.event.inputs.board
24
33
steps :
25
34
- uses : actions/setup-python@v5
26
35
with :
@@ -193,6 +202,10 @@ jobs:
193
202
" feather_esp32s3_reverse_tft" ,
194
203
" qtpy_esp32s3_n4r2" ,
195
204
]
205
+ if : |
206
+ github.event_name != 'workflow_dispatch' ||
207
+ github.event.inputs.board == '' ||
208
+ matrix.arduino-platform == github.event.inputs.board
196
209
steps :
197
210
- uses : actions/setup-python@v5
198
211
with :
@@ -298,6 +311,10 @@ jobs:
298
311
arduino-platform : " wippersnapper_qtpy_esp32c3"
299
312
- offset : " 0x0"
300
313
arduino-platform : " wippersnapper_feather_esp32c6"
314
+ if : |
315
+ github.event_name != 'workflow_dispatch' ||
316
+ github.event.inputs.board == '' ||
317
+ matrix.arduino-platform == github.event.inputs.board
301
318
steps :
302
319
- uses : actions/setup-python@v5
303
320
with :
@@ -428,6 +445,10 @@ jobs:
428
445
" pyportal_titano_tinyusb" ,
429
446
" metro_m4_airliftlite_tinyusb" ,
430
447
]
448
+ if : |
449
+ github.event_name != 'workflow_dispatch' ||
450
+ github.event.inputs.board == '' ||
451
+ matrix.arduino-platform == github.event.inputs.board
431
452
steps :
432
453
- uses : actions/setup-python@v5
433
454
with :
@@ -502,6 +523,10 @@ jobs:
502
523
fail-fast : false
503
524
matrix :
504
525
arduino-platform : ["picow_rp2040_tinyusb", "picow_rp2350_tinyusb"]
526
+ if : |
527
+ github.event_name != 'workflow_dispatch' ||
528
+ github.event.inputs.board == '' ||
529
+ matrix.arduino-platform == github.event.inputs.board
505
530
steps :
506
531
- uses : actions/setup-python@v5
507
532
with :
@@ -573,6 +598,10 @@ jobs:
573
598
fail-fast : false
574
599
matrix :
575
600
arduino-platform : ["feather_esp8266"]
601
+ if : |
602
+ github.event_name != 'workflow_dispatch' ||
603
+ github.event.inputs.board == '' ||
604
+ matrix.arduino-platform == github.event.inputs.board
576
605
steps :
577
606
- uses : actions/setup-python@v5
578
607
with :
@@ -661,6 +690,10 @@ jobs:
661
690
" metroesp32s2_debug" ,
662
691
" metro_esp32s3_debug" ,
663
692
]
693
+ if : |
694
+ github.event_name != 'workflow_dispatch' ||
695
+ github.event.inputs.board == '' ||
696
+ matrix.arduino-platform == github.event.inputs.board
664
697
steps :
665
698
- uses : actions/setup-python@v5
666
699
with :
@@ -757,6 +790,10 @@ jobs:
757
790
- offset : " 0x1000"
758
791
- offset : " 0x0"
759
792
arduino-platform : " wippersnapper_feather_esp32c6_debug"
793
+ if : |
794
+ github.event_name != 'workflow_dispatch' ||
795
+ github.event.inputs.board == '' ||
796
+ matrix.arduino-platform == github.event.inputs.board
760
797
steps :
761
798
- uses : actions/setup-python@v5
762
799
with :
0 commit comments