diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efa43b3f..ace2c6b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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