Fix cross compilation in CI pipeline (#1382)

This commit is contained in:
Patrick Förster 2025-04-11 20:08:42 +02:00 committed by GitHub
parent a1fb5ec807
commit d4cbeda64c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ jobs:
targets: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
- name: Install cross-compilation dependencies
run: sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf
if: ${{ matrix.os == 'ubuntu-22.04' }}
- name: Compile
run: cargo test --target ${{ matrix.target }} --all-features --no-run --locked