Skip to content

Commit 88e7787

Browse files
committed
[skip ci] bump sccache for linux x86_64
1 parent 09acbff commit 88e7787

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/ci/docker/scripts/sccache.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ex
66

77
case "$(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)
1212
url="https://ci-mirrors.rust-lang.org/rustc/2021-08-25-sccache-v0.2.15-aarch64-unknown-linux-musl"
@@ -16,5 +16,7 @@ case "$(uname -m)" in
1616
exit 1
1717
esac
1818

19-
curl -fo /usr/local/bin/sccache "${url}"
19+
curl -fLo sccache.tar.gz "${url}"
20+
tar zxvf sccache.tar.gz --wildcards --no-anchored 'sccache' --strip-components=1
21+
cp sccache /usr/local/bin/sccache
2022
chmod +x /usr/local/bin/sccache

src/ci/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
279279
fi
280280

281281
echo "::group::sccache stats"
282+
sccache --version || true
282283
sccache --show-stats || true
283284
echo "::endgroup::"

0 commit comments

Comments
 (0)