ci: use the sccache which installed in the docker image (#31332)
This commit is contained in:
parent
16f3dcd5d2
commit
f6591158ab
|
@ -57,7 +57,7 @@ if [[ -n $CI ]]; then
|
|||
echo "--- $0 ... (with sccache enabled)"
|
||||
# sccache
|
||||
ARGS+=(
|
||||
--env "RUSTC_WRAPPER=/home/.cargo/bin/sccache"
|
||||
--env "RUSTC_WRAPPER=/usr/local/cargo/bin/sccache"
|
||||
--env AWS_ACCESS_KEY_ID
|
||||
--env AWS_SECRET_ACCESS_KEY
|
||||
--env SCCACHE_BUCKET
|
||||
|
|
|
@ -36,5 +36,6 @@ RUN set -x \
|
|||
&& cargo install mdbook-linkcheck \
|
||||
&& cargo install svgbob_cli \
|
||||
&& cargo install --git https://github.com/rustwasm/wasm-pack --rev b4e619c8a13a8441b804895348afbfd4fb1a68a3 \
|
||||
&& cargo install sccache \
|
||||
&& rustc --version \
|
||||
&& cargo --version
|
||||
|
|
Loading…
Reference in New Issue