File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,18 @@ set -ex
6
6
7
7
case " $( uname -m) " in
8
8
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 "
10
10
;;
11
11
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"
13
14
;;
14
15
* )
15
16
echo " unsupported architecture: $( uname -m) "
16
17
exit 1
17
18
esac
18
19
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
20
23
chmod +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
279
279
fi
280
280
281
281
echo " ::group::sccache stats"
282
+ sccache --version || true
282
283
sccache --show-stats || true
283
284
echo " ::endgroup::"
You can’t perform that action at this time.
0 commit comments