Skip to content

Commit

Permalink
ci: test on pico-sdk 1.5.1
Browse files Browse the repository at this point in the history
also speed up CI tests by building only the hello_world/usb example
  • Loading branch information
urish committed Feb 24, 2024
1 parent a0f438d commit 95e2ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-pico-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
sdk_version: [1.2.0, 1.3.1, 1.4.0]
sdk_version: [1.2.0, 1.3.1, 1.4.0, 1.5.1]
steps:
- uses: actions/checkout@v4
- name: Cache Pico SDK
Expand All @@ -31,7 +31,7 @@ jobs:
git clone https://github.com/raspberrypi/pico-sdk.git --depth 1 --branch ${SDK_VERSION}
cd pico-sdk && git submodule update --init && cd ..
git clone https://github.com/raspberrypi/pico-examples.git --depth 1 --branch "sdk-${SDK_VERSION}"
cd pico-examples && mkdir build && cd build && cmake .. && make -j4
cd pico-examples && mkdir build && cd build && cmake .. && make -C hello_world/usb -j4
env:
SDK_VERSION: ${{ matrix.sdk_version }}
PICO_SDK_PATH: ~/pico/pico-sdk
Expand Down

0 comments on commit 95e2ca6

Please sign in to comment.