1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

upgrade sccache

This commit is contained in:
schaeff 2022-04-06 10:28:58 +02:00
parent 84c69130d5
commit 0e8a146a71

View file

@ -185,8 +185,8 @@ commands:
name: Install sccache
command: |
apt-get install -y pkg-config libssl-dev
curl -o- -sSLf https://github.com/mozilla/sccache/releases/download/0.2.12/sccache-0.2.12-x86_64-unknown-linux-musl.tar.gz | tar xzf -
mv sccache-0.2.12-x86_64-unknown-linux-musl/sccache /usr/local/cargo/bin/sccache
curl -o- -sSLf https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz | tar xzf -
mv sccache-v0.2.15-x86_64-unknown-linux-musl/sccache /usr/local/cargo/bin/sccache
echo 'export "RUSTC_WRAPPER"="sccache"' >> $BASH_ENV
echo 'export "SCCACHE_CACHE_SIZE"="1G"' >> $BASH_ENV
restore-sccache-cache: