ci: show sccache version and prefix (#31317)

* ci: Show sccache version as well

* hmm, where's sccache?? (and prefix bonus)

* Use $PATH's sccache for consistency
This commit is contained in:
Ryo Onodera 2023-04-25 13:11:58 +09:00 committed by GitHub
parent f6591158ab
commit 37576c8949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@ if [[ -n $CI ]]; then
# sccache-related bugs
echo "--- $0 ... (with sccache being DISABLED due to many (${BUILDKITE_RETRY_COUNT}) retries)"
else
echo "--- $0 ... (with sccache enabled)"
echo "--- $0 ... (with sccache enabled with prefix: $SCCACHE_S3_KEY_PREFIX)"
# sccache
ARGS+=(
--env "RUSTC_WRAPPER=/usr/local/cargo/bin/sccache"

View File

@ -46,6 +46,8 @@ echo --- build environment
cargo audit --version
grcov --version
sccache --version
)
export RUST_BACKTRACE=1