Skip to content

Commit

Permalink
Fixups for Pico W
Browse files Browse the repository at this point in the history
  • Loading branch information
kubamracek committed Dec 6, 2024
1 parent 17ea788 commit 32d7387
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-pico-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 32d7387

Please sign in to comment.