Skip to content

Commit

Permalink
Fix sense of libusb, and fix mbedtls
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Sep 2, 2024
1 parent c3f222c commit 9274b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
repository: raspberrypi/pico-sdk
ref: develop
path: pico-sdk
submodules: ${{ matrix.mbedtls }}
submodules: ${{ !(!matrix.mbedtls) }}

- name: Build and Install
run: |
cmake -S . -B build -G "${{ matrix.generator }}" -D PICO_SDK_PATH="${{ github.workspace }}/pico-sdk" ${{ matrix.libusb && '-D PICOTOOL_NO_LIBUSB=1' || '' }} ${{ matrix.compile && '-D USE_PRECOMPILED=false' || '' }}
cmake -S . -B build -G "${{ matrix.generator }}" -D PICO_SDK_PATH="${{ github.workspace }}/pico-sdk" ${{ !matrix.libusb && '-D PICOTOOL_NO_LIBUSB=1' || '' }} ${{ matrix.compile && '-D USE_PRECOMPILED=false' || '' }}
cmake --build build
${{ runner.os != 'Windows' && 'sudo' || '' }} cmake --install build
- name: Add to path (Windows)
Expand Down

0 comments on commit 9274b8c

Please sign in to comment.