File tree Expand file tree Collapse file tree 1 file changed +18
-49
lines changed Expand file tree Collapse file tree 1 file changed +18
-49
lines changed Original file line number Diff line number Diff line change 9
9
- created
10
10
11
11
jobs :
12
+ set-matrix :
13
+ runs-on : ubuntu-latest
14
+ outputs :
15
+ matrix : ${{ steps.set-matrix.outputs.matrix }}
16
+ steps :
17
+ - name : Checkout Code
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Set matrix
21
+ id : set-matrix
22
+ working-directory : src/boards
23
+ run : |
24
+ MATRIX_JSON=$(ls -d */ | sed 's/\/$//' | jq -R -s -c 'split("\n")[:-1]')
25
+ echo "matrix=$MATRIX_JSON"
26
+ echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
27
+
12
28
build :
29
+ needs : set-matrix
13
30
runs-on : ubuntu-latest
14
31
strategy :
15
32
fail-fast : false
16
33
matrix :
17
- board :
18
- # Adafruit Boards
19
- - ' circuitplayground_nrf52840'
20
- - ' clue_nrf52840'
21
- - ' feather_nrf52832'
22
- - ' feather_nrf52833_express'
23
- - ' feather_nrf52840_express'
24
- - ' feather_nrf52840_sense'
25
- - ' feather_nrf52840_sense_tft'
26
- - ' itsybitsy_nrf52840_express'
27
- - ' metro_nrf52840_express'
28
- - ' ledglasses_nrf52840'
29
- # Other Makers (Alphabetical order)
30
- - ' adm_b_nrf52840_1'
31
- - ' ae_bl652_bo'
32
- - ' aramcon_badge_2019'
33
- - ' aramcon2_badge'
34
- - ' arcade_feather_nrf52840_express'
35
- - ' arduino_nano_33_ble'
36
- - ' bast_ble'
37
- - ' bluemicro_nrf52833'
38
- - ' bluemicro_nrf52840'
39
- - ' challenger_840_ble'
40
- - ' ebyte_e104_bt5032a'
41
- - ' ebyte_e73_tbb'
42
- - ' electronut_labs_papyr'
43
- - ' ikigaisense_vita'
44
- - ' m60_keyboard'
45
- - ' mdk_nrf52840_dongle'
46
- - ' mikoto'
47
- - ' nice_nano'
48
- - ' nrf52840_bboard'
49
- - ' nRF52840_connect_kit'
50
- - ' nrf52840_m2'
51
- - ' ohs2020_badge'
52
- - ' particle_argon'
53
- - ' particle_boron'
54
- - ' particle_xenon'
55
- - ' pca10056'
56
- - ' pca10059'
57
- - ' pca10100'
58
- - ' pitaya_go'
59
- - ' raytac_mdbt50q_db_40'
60
- - ' raytac_mdbt50q_rx'
61
- - ' sparkfun_nrf52840_micromod'
62
- - ' waveshare_nrf52840_eval'
63
- - ' xiao_nrf52840_ble'
64
- - ' xiao_nrf52840_ble_sense'
65
-
34
+ board : ${{ fromJSON(needs.set-matrix.outputs.matrix) }}
66
35
steps :
67
36
- name : Setup Python
68
37
uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments