From 32d7387f4cb5a6f53022d7915f86a65863b07b04 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Fri, 6 Dec 2024 15:52:30 -0800 Subject: [PATCH] Fixups for Pico W --- .github/workflows/build-pico-sdk.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pico-sdk.yml b/.github/workflows/build-pico-sdk.yml index abd20ad..b34eaa9 100644 --- a/.github/workflows/build-pico-sdk.yml +++ b/.github/workflows/build-pico-sdk.yml @@ -14,8 +14,13 @@ jobs: runs-on: ubuntu-22.04 container: swiftlang/swift:nightly-main-jammy strategy: + fail-fast: false matrix: - example: [pico-blink-sdk, pico-w-blink-sdk] + example: + - name: pico-blink-sdk + board: pico + - name: pico-w-blink-sdk + board: pico-w steps: - name: Checkout repo @@ -51,12 +56,12 @@ jobs: - name: Set PICO environment variables run: | ARCH=`uname -m` - echo "PICO_BOARD=pico" >> $GITHUB_ENV + echo "PICO_BOARD=${{ matrix.example.board }}" >> $GITHUB_ENV echo "PICO_SDK_PATH=`pwd`/pico-sdk" >> $GITHUB_ENV echo "PICO_TOOLCHAIN_PATH=`pwd`/arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi" >> $GITHUB_ENV - - name: Build ${{ matrix.example }} + - name: Build ${{ matrix.example.name }} run: | - cd ${{ matrix.example }} + cd ${{ matrix.example.name }} cmake -B build -G Ninja . cmake --build build