CI Check job: run apt-get update before apt-get install

trying to fix  https://github.com/bytecodealliance/wasmtime/runs/4025939586?check_suite_focus=true
This commit is contained in:
Pat Hickey
2021-10-27 12:01:13 -07:00
parent 06a93d3346
commit dfebb3e9b6

View File

@@ -162,7 +162,7 @@ jobs:
- run: | - run: |
rustup target add wasm32-unknown-emscripten rustup target add wasm32-unknown-emscripten
rustup target add armv7-unknown-linux-gnueabihf rustup target add armv7-unknown-linux-gnueabihf
sudo apt-get install -y gcc-arm-linux-gnueabihf sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf
- run: cargo check --target wasm32-unknown-emscripten -p wasi-common - run: cargo check --target wasm32-unknown-emscripten -p wasi-common
- run: cargo check --target armv7-unknown-linux-gnueabihf -p wasi-common - run: cargo check --target armv7-unknown-linux-gnueabihf -p wasi-common