From 1ca5a7ae6b30813ccc8d02cc7f4bf6f9f599a53e Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Wed, 13 May 2026 13:31:58 -0700 Subject: [PATCH 1/3] actually wait for it to work before merging --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6438b1e..338f5f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: 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 + run: sudo apt install -y libusb libusb-dev - if: ${{ startsWith(matrix.os, 'ubuntu') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm From 822d863e9897a220632565e5b38155e789eefbc4 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Wed, 13 May 2026 13:47:34 -0700 Subject: [PATCH 2/3] fix package name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 338f5f5..0fdfcca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: 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 install -y libusb libusb-dev + run: sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev - if: ${{ startsWith(matrix.os, 'ubuntu') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm From 8cb1faf3e633bfa5111ffcc5c5fbc74da8738dc5 Mon Sep 17 00:00:00 2001 From: Shin Umeda Date: Wed, 13 May 2026 13:54:27 -0700 Subject: [PATCH 3/3] install libudev-dev too --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fdfcca..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 -y libusb-1.0-0 libusb-1.0-0-dev - - if: ${{ startsWith(matrix.os, 'ubuntu') }} run: conan create picotool -b missing --version=2.2.0 -pr:a hal/tc/llvm