File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 1717
1818 env :
1919 CARGO_INCREMENTAL : 0
20- SCCACHE_VERSION : 0.8.2
21- SCCACHE_GHA_CACHE_TO : sccache-aspeed-ddk
22- SCCACHE_GHA_CACHE_FROM : sccache-aspeed-ddk
23- SCCACHE_C_CUSTOM_CACHE_BUSTER : a1b2c3d4e5
2420 EXTRA_CARGO_CONFIG : " target.'cfg(all())'.rustflags = [\" -Dwarnings\" ]"
2521
2622 steps :
3127
3228 - name : Install packages
3329 run : |
34- sudo apt-get update -qq
35- sudo apt-get install -y build-essential curl gcc-arm-none-eabi llvm clang pkg-config libudev-dev
36- rustup component add clippy rustfmt llvm-tools-preview
37-
38- - name : Install sccache
39- uses : mozilla-actions/sccache-action@v0.0.1
40- with :
41- version : ${{ env.SCCACHE_VERSION }}
42-
43- - name : Configure sccache
44- run : |
45- echo "RUSTC_WRAPPER=$(which sccache)" >> $GITHUB_ENV
30+ sudo apt-get update -qy
31+ sudo apt-get install -qy build-essential curl gcc-multilib gcc-riscv64-unknown-elf git
4632
4733 - name : Verify Cargo.lock is up to date
4834 run : |
5642 - name : Run precommit checks (build/format/lint)
5743 run : |
5844 cargo --config "$EXTRA_CARGO_CONFIG" xtask precommit
59-
60- - name : Show sccache stats
61- run : sccache --show-stats
62-
You can’t perform that action at this time.
0 commit comments