Skip to content

Commit b934378

Browse files
committed
workflows: remove sccache
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
1 parent 5c212aa commit b934378

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
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:
@@ -31,18 +27,8 @@ jobs:
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: |
@@ -56,7 +42,3 @@ jobs:
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-

0 commit comments

Comments
 (0)