From 94b231765fbcddc15915b673a1f739c1d19e6fb6 Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sun, 18 Aug 2024 15:27:36 +0100 Subject: [PATCH] Don't check udeps for RISC-V examples We can't build all the examples, so cargo udeps gets upset because no one example needs all the dependencies. --- .../workflows/rp235x_hal_examples_riscv.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/rp235x_hal_examples_riscv.yml b/.github/workflows/rp235x_hal_examples_riscv.yml index 78f634e27..4ff00e8a3 100644 --- a/.github/workflows/rp235x_hal_examples_riscv.yml +++ b/.github/workflows/rp235x_hal_examples_riscv.yml @@ -18,24 +18,6 @@ jobs: echo "Building $example" cargo build --target=${TARGET} --bin $example done - udeps: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-01-30 - target: ${{ env.TARGET }} - - name: Install cargo-udeps - run: | - curl -sSL https://github.com/est31/cargo-udeps/releases/download/v0.1.45/cargo-udeps-v0.1.45-x86_64-unknown-linux-gnu.tar.gz | tar xvzf - --strip-components=2 -C ~/.cargo/bin ./cargo-udeps-v0.1.45-x86_64-unknown-linux-gnu/cargo-udeps - - name: Run cargo-udeps - run: | - cd ${PACKAGE} - cat riscv_examples.txt | while read example; do - echo "Building $example" - cargo udeps --target=${TARGET} --bin $example - done msrv: name: Verify build on MSRV runs-on: ubuntu-20.04