File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,18 @@ set -ex
66
77case " $( uname -m) " in
88 x86_64)
9- url=" https://ci-mirrors.rust-lang.org/rustc/2021-08-24- sccache-v0.2.15 -x86_64-unknown-linux-musl"
9+ url=" https://github.com/mozilla/ sccache/releases/download/v0.3.3/sccache -v0.3.3 -x86_64-unknown-linux-musl.tar.gz "
1010 ;;
1111 aarch64)
12- url=" https://ci-mirrors.rust-lang.org/rustc/2021-08-25-sccache-v0.2.15-aarch64-unknown-linux-musl"
12+ # no aarch64 release for 0.3.3, so use this
13+ url=" https://github.com/mozilla/sccache/releases/download/v0.3.1/sccache-v0.3.1-aarch64-unknown-linux-musl.tar.gz"
1314 ;;
1415 * )
1516 echo " unsupported architecture: $( uname -m) "
1617 exit 1
1718esac
1819
19- curl -fo /usr/local/bin/sccache " ${url} "
20+ curl -fLo sccache.tar.gz " ${url} "
21+ tar zxvf sccache.tar.gz --wildcards --no-anchored ' sccache' --strip-components=1
22+ cp sccache /usr/local/bin/sccache
2023chmod +x /usr/local/bin/sccache
Original file line number Diff line number Diff line change @@ -279,5 +279,6 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
279279fi
280280
281281echo " ::group::sccache stats"
282+ sccache --version || true
282283sccache --show-stats || true
283284echo " ::endgroup::"
You can’t perform that action at this time.
0 commit comments