Skip to content

Commit 2c83c7f

Browse files
authored
workflows: Run unit tests on more ports (#318)
1 parent d42c639 commit 2c83c7f

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ jobs:
1919
windows-latest,
2020
macos-latest,
2121
]
22+
port_dir: [
23+
# espressif/esp,
24+
gigadevice/gd32,
25+
# microchip/atsam,,
26+
# microchip/avr,
27+
# nordic/nrf5x,
28+
# nxp/lpc,
29+
raspberrypi/rp2xxx,
30+
stmicro/stm32,
31+
# wch/ch32v,
32+
]
2233
steps:
2334
- name: Checkout
2435
uses: actions/checkout@v4
@@ -32,9 +43,8 @@ jobs:
3243
run: zig build -Doptimize=ReleaseSmall
3344

3445
- name: Unit Test Ports
35-
run: |
36-
cd port/raspberrypi/rp2xxx
37-
zig build test
46+
run: zig build test
47+
working-directory: port/${{ matrix.port_dir }}
3848

3949
- name: Unit Test Regz
4050
run: zig build test

0 commit comments

Comments
 (0)