Skip to content

Commit 94b2317

Browse files
committed
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.
1 parent 650a608 commit 94b2317

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/rp235x_hal_examples_riscv.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,6 @@ jobs:
1818
echo "Building $example"
1919
cargo build --target=${TARGET} --bin $example
2020
done
21-
udeps:
22-
runs-on: ubuntu-20.04
23-
steps:
24-
- uses: actions/checkout@v4
25-
- uses: dtolnay/rust-toolchain@master
26-
with:
27-
toolchain: nightly-2024-01-30
28-
target: ${{ env.TARGET }}
29-
- name: Install cargo-udeps
30-
run: |
31-
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
32-
- name: Run cargo-udeps
33-
run: |
34-
cd ${PACKAGE}
35-
cat riscv_examples.txt | while read example; do
36-
echo "Building $example"
37-
cargo udeps --target=${TARGET} --bin $example
38-
done
3921
msrv:
4022
name: Verify build on MSRV
4123
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)