Skip to content

Commit 93389ca

Browse files
committed
ci: fix sccache cache mode
1 parent 8f161e9 commit 93389ca

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.cross/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ ENV CC=clang \
1515
CXX=clang++ \
1616
AR=llvm-ar \
1717
RUSTC_WRAPPER="/usr/bin/sccache" \
18-
SCCACHE_DIRECT=true
18+
SCCACHE_DIR="/tmp/sccache"

Cross.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build.env]
2-
passthrough = ["RUSTFLAGS", "RUSTC_BOOTSTRAP", "SCCACHE_GHA_ENABLED", "ACTIONS_RESULTS_URL", "ACTIONS_RUNTIME_TOKEN"]
2+
passthrough = ["RUSTFLAGS", "RUSTC_BOOTSTRAP", "SCCACHE_GHA_ENABLED"]
3+
volumes = ["/tmp/sccache=/tmp/sccache"]
34

45
# Use clang as the C/C++ compiler to avoid the aws-lc-sys GCC memcmp bug
56
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189

0 commit comments

Comments
 (0)