From f95f8f064f188fd08ac503847884c45850b51bd0 Mon Sep 17 00:00:00 2001 From: Grazfather Date: Wed, 18 Dec 2024 20:40:56 -0500 Subject: [PATCH] workflows: Run unit tests on more ports --- .github/workflows/build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eaad87d1..052efa13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,12 @@ jobs: windows-latest, macos-latest, ] + port_dir: [ + gigadevice/gd32, + nxp/lpc, + raspberrypi/rp2xxx, + stmicro/stm32, + ] steps: - name: Checkout uses: actions/checkout@v4 @@ -32,9 +38,8 @@ jobs: run: zig build -Doptimize=ReleaseSmall - name: Unit Test Ports - run: | - cd port/raspberrypi/rp2xxx - zig build test + run: zig build test + working-directory: port/${{ matrix.port_dir }} - name: Unit Test Regz run: zig build test