diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abbc0d5..e79a342 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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)