ci: Fix bpf-linker installation (#1295)

We've recently added an xtask to bpf-linker (aya-rs/bpf-linker#282),
which resulted in multiple binary targets. Therefore, bpf-linker has
to be installed with the following command:

```
cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker
```

The last argument (`bpf-linker`) specifies the binary target.
main
Michal Rostecki 3 days ago committed by GitHub
parent 35332f2288
commit 727dfcd7ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -170,7 +170,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker
- uses: taiki-e/install-action@cargo-hack
@ -297,7 +297,7 @@ jobs:
# --force so that bpf-linker gets always relinked against the latest LLVM downloaded above.
#
# Do this on all system (not just macOS) to avoid relying on rustc-provided libLLVM.so.
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git --no-default-features --force
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --no-default-features --force
- uses: actions/cache@v4
with:

Loading…
Cancel
Save