@@ -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 :
@@ -15,13 +20,27 @@ jobs:
15
20
build-esp32sx-esptool :
16
21
name : 🏗️ESP32-Sx(lvgl)
17
22
runs-on : ubuntu-latest
23
+ continue-on-error : true
18
24
strategy :
19
25
fail-fast : false
20
26
matrix :
21
- arduino-platform : ["funhouse_noota"]
27
+ arduino-platform :
28
+ [
29
+ " funhouse_noota" ,
30
+ " esp32s3_devkitc_1_n8"
31
+ ]
22
32
include :
33
+ - offset : " 0x0"
23
34
- offset : " 0x1000"
35
+ arduino-platform : " funhouse_noota"
24
36
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
25
44
- uses : actions/setup-python@v5
26
45
with :
27
46
python-version : " 3.x"
@@ -105,6 +124,7 @@ jobs:
105
124
mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.elf wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.elf
106
125
mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.map wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.map
107
126
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
108
128
mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.partitions.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.partitions.bin
109
129
- name : Get Board Flash Parameters
110
130
id : get_board_json
@@ -174,6 +194,7 @@ jobs:
174
194
build-esp32sx :
175
195
name : 🏗️ESP32-Sx
176
196
runs-on : ubuntu-latest
197
+ continue-on-error : true
177
198
strategy :
178
199
fail-fast : false
179
200
matrix :
@@ -194,6 +215,13 @@ jobs:
194
215
" qtpy_esp32s3_n4r2" ,
195
216
]
196
217
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
197
225
- uses : actions/setup-python@v5
198
226
with :
199
227
python-version : " 3.x"
@@ -278,6 +306,7 @@ jobs:
278
306
build-esp32 :
279
307
name : 🏗️ESP32/Cx
280
308
runs-on : ubuntu-latest
309
+ continue-on-error : true
281
310
strategy :
282
311
fail-fast : false
283
312
matrix :
@@ -299,6 +328,13 @@ jobs:
299
328
- offset : " 0x0"
300
329
arduino-platform : " wippersnapper_feather_esp32c6"
301
330
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
302
338
- uses : actions/setup-python@v5
303
339
with :
304
340
python-version : " 3.x"
@@ -419,6 +455,7 @@ jobs:
419
455
build-samd :
420
456
name : 🏗️SAMD
421
457
runs-on : ubuntu-latest
458
+ continue-on-error : true
422
459
strategy :
423
460
fail-fast : false
424
461
matrix :
@@ -429,6 +466,13 @@ jobs:
429
466
" metro_m4_airliftlite_tinyusb" ,
430
467
]
431
468
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
432
476
- uses : actions/setup-python@v5
433
477
with :
434
478
python-version : " 3.x"
@@ -498,11 +542,19 @@ jobs:
498
542
build-rp2040 :
499
543
name : 🏗️RP2040
500
544
runs-on : ubuntu-latest
545
+ continue-on-error : true
501
546
strategy :
502
547
fail-fast : false
503
548
matrix :
504
549
arduino-platform : ["picow_rp2040_tinyusb", "picow_rp2350_tinyusb"]
505
550
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
506
558
- uses : actions/setup-python@v5
507
559
with :
508
560
python-version : " 3.x"
@@ -569,11 +621,19 @@ jobs:
569
621
build-esp8266 :
570
622
name : 🏗️ESP8266
571
623
runs-on : ubuntu-latest
624
+ continue-on-error : true
572
625
strategy :
573
626
fail-fast : false
574
627
matrix :
575
628
arduino-platform : ["feather_esp8266"]
576
629
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
577
637
- uses : actions/setup-python@v5
578
638
with :
579
639
python-version : " 3.x"
@@ -647,11 +707,13 @@ jobs:
647
707
build-esp32sx-dev :
648
708
name : 🏗️ESP32-Sx(DEV)
649
709
runs-on : ubuntu-latest
710
+ continue-on-error : true
650
711
strategy :
651
712
fail-fast : false
652
713
matrix :
653
714
arduino-platform :
654
715
[
716
+ " esp32s3_devkitc_1_n8_debug" ,
655
717
" feather_esp32s2_debug" ,
656
718
" feather_esp32s2_tft_debug" ,
657
719
" feather_esp32s3_debug" ,
@@ -662,6 +724,13 @@ jobs:
662
724
" metro_esp32s3_debug" ,
663
725
]
664
726
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
665
734
- uses : actions/setup-python@v5
666
735
with :
667
736
python-version : " 3.x"
@@ -746,6 +815,7 @@ jobs:
746
815
build-esp32-dev :
747
816
name : 🏗️ESP32/Cx(DEV)
748
817
runs-on : ubuntu-latest
818
+ continue-on-error : true
749
819
strategy :
750
820
fail-fast : false
751
821
matrix :
@@ -758,6 +828,13 @@ jobs:
758
828
- offset : " 0x0"
759
829
arduino-platform : " wippersnapper_feather_esp32c6_debug"
760
830
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
761
838
- uses : actions/setup-python@v5
762
839
with :
763
840
python-version : " 3.x"
0 commit comments