Skip to content

Commit 658949a

Browse files
authored
Update build-clang-doxy.yml - optional single board build
1 parent 5efebb8 commit 658949a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-clang-doxy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ name: WipperSnapper Build CI
55

66
on:
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:
@@ -21,6 +26,10 @@ jobs:
2126
arduino-platform: ["funhouse_noota"]
2227
include:
2328
- offset: "0x1000"
29+
if: |
30+
github.event_name != 'workflow_dispatch' ||
31+
github.event.inputs.board == '' ||
32+
matrix.arduino-platform == github.event.inputs.board
2433
steps:
2534
- uses: actions/setup-python@v5
2635
with:
@@ -193,6 +202,10 @@ jobs:
193202
"feather_esp32s3_reverse_tft",
194203
"qtpy_esp32s3_n4r2",
195204
]
205+
if: |
206+
github.event_name != 'workflow_dispatch' ||
207+
github.event.inputs.board == '' ||
208+
matrix.arduino-platform == github.event.inputs.board
196209
steps:
197210
- uses: actions/setup-python@v5
198211
with:
@@ -298,6 +311,10 @@ jobs:
298311
arduino-platform: "wippersnapper_qtpy_esp32c3"
299312
- offset: "0x0"
300313
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
301318
steps:
302319
- uses: actions/setup-python@v5
303320
with:
@@ -428,6 +445,10 @@ jobs:
428445
"pyportal_titano_tinyusb",
429446
"metro_m4_airliftlite_tinyusb",
430447
]
448+
if: |
449+
github.event_name != 'workflow_dispatch' ||
450+
github.event.inputs.board == '' ||
451+
matrix.arduino-platform == github.event.inputs.board
431452
steps:
432453
- uses: actions/setup-python@v5
433454
with:
@@ -502,6 +523,10 @@ jobs:
502523
fail-fast: false
503524
matrix:
504525
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
505530
steps:
506531
- uses: actions/setup-python@v5
507532
with:
@@ -573,6 +598,10 @@ jobs:
573598
fail-fast: false
574599
matrix:
575600
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
576605
steps:
577606
- uses: actions/setup-python@v5
578607
with:
@@ -661,6 +690,10 @@ jobs:
661690
"metroesp32s2_debug",
662691
"metro_esp32s3_debug",
663692
]
693+
if: |
694+
github.event_name != 'workflow_dispatch' ||
695+
github.event.inputs.board == '' ||
696+
matrix.arduino-platform == github.event.inputs.board
664697
steps:
665698
- uses: actions/setup-python@v5
666699
with:
@@ -757,6 +790,10 @@ jobs:
757790
- offset: "0x1000"
758791
- offset: "0x0"
759792
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
760797
steps:
761798
- uses: actions/setup-python@v5
762799
with:

0 commit comments

Comments
 (0)