diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6438b1e..10df872 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,9 @@ jobs: - run: conan config install https://github.com/libhal/conan-config2.git - run: conan hal setup + - if: ${{ startsWith(matrix.os, 'ubuntu') }} + run: sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev libudev-dev + # Build picosdk 2.2.0 - run: conan create pico-sdk --version=2.2.0 @@ -48,9 +51,6 @@ jobs: - if: ${{ startsWith(matrix.os, 'macos') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm -c tools.build:sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk - - if: ${{ startsWith(matrix.os, 'ubuntu') }} - run: sudo apt-get install libusb libusb-dev - - if: ${{ startsWith(matrix.os, 'ubuntu') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm