From 731a1f523374b392b4f7dae0dd6c8505c8a4ac58 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 5 Dec 2023 11:17:44 +1100 Subject: [PATCH] github/workflows: Enable build matrix for stm32 port. This is for consistency with the previous commit that uses this approach for esp32. Signed-off-by: Angus Gratton --- .github/workflows/ports_stm32.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ports_stm32.yml b/.github/workflows/ports_stm32.yml index 0b781a93c1..84d30b27f6 100644 --- a/.github/workflows/ports_stm32.yml +++ b/.github/workflows/ports_stm32.yml @@ -18,20 +18,18 @@ concurrency: cancel-in-progress: true jobs: - build_pyb: + build_stm32: + strategy: + fail-fast: false + matrix: + ci_func: # names are functions in ci.sh + - stm32_pyb_build + - stm32_nucleo_build runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - name: Install packages run: source tools/ci.sh && ci_stm32_setup - - name: Build - run: source tools/ci.sh && ci_stm32_pyb_build + - name: Build ci_${{matrix.ci_func }} + run: source tools/ci.sh && ci_${{ matrix.ci_func }} - build_nucleo: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - name: Install packages - run: source tools/ci.sh && ci_stm32_setup - - name: Build - run: source tools/ci.sh && ci_stm32_nucleo_build