19 Commits

Author SHA1 Message Date
e542a5015d Retry sccache release downloads 2026-05-16 09:55:36 -07:00
a83a6d8f5c Wrap CC and CXX with sccache by default
Build scripts that compile C/C++ (cc crate, libduckdb-sys's bundled
DuckDB, ring's assembly) are not cached by RUSTC_WRAPPER and dominate
warm CI time on Rust projects with heavy native deps. Export
CC=sccache cc and CXX=sccache c++ so those compilations land in the
same sccache backend as rustc.

Gated behind a new sccache-wrap-cc input (default "true") so callers
with build systems that do not tolerate multi-word CC/CXX can opt out.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-05 21:56:32 -07:00
8a04fb6158 Disable incremental builds for sccache 2026-05-05 20:37:20 -07:00
791d065c4c Keep sccache server alive during long jobs 2026-05-05 20:27:40 -07:00
f71948857f Replace Gitea cache with sccache setup 2026-05-05 20:26:52 -07:00
fdb18503ba fix: persist cache upload settings 2026-05-03 21:32:27 -07:00
1386c59eaa fix: serialize rust cache uploads 2026-05-03 21:26:04 -07:00
d8749d13a0 fix: bump rust cache format 2026-05-03 16:45:02 -07:00
8bd0f6c162 fix: normalize rust cache keys 2026-05-03 16:30:48 -07:00
9ac27437a8 fix: clean up rust cache action 2026-05-03 16:02:57 -07:00
Hermes
fe1fd7ac38 fix: YAML colon in step names 2026-05-02 21:15:37 -07:00
Hermes
96df067726 debug: verbose curl headers, force v1 save 2026-05-02 21:12:05 -07:00
Hermes
a0a0c01217 debug: curl Twirp probe between save and lookup, show env vars 2026-05-02 21:00:23 -07:00
Hermes
426230f6f6 debug: save then lookup same key to isolate backend issue 2026-05-02 20:49:46 -07:00
Hermes
9d1e29ea68 debug: add lookup-only step to diagnose cache backend 2026-05-02 20:38:58 -07:00
Hermes
dc7819824d fix: use || true per-file to handle missing Cargo.lock 2026-05-02 15:51:12 -07:00
Hermes
a681e5a907 fix: use shell hashing instead of hashFiles() which returns empty on Gitea Actions 2026-05-02 15:49:17 -07:00
Hermes
a043e7d62c Add rust-cache composite action 2026-05-02 15:43:39 -07:00
c99b8ff158 Initial commit 2026-05-02 22:43:10 +00:00