mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
build(ENG-21466): Fix sccache not caching across builds (#24423)
This commit is contained in:
@@ -103,7 +103,8 @@ async function build(args) {
|
||||
|
||||
await startGroup("CMake Build", () => spawn("cmake", buildArgs, { env }));
|
||||
|
||||
if (isCI) {
|
||||
const target = buildOptions["--target"] || buildOptions["-t"];
|
||||
if (isCI && target === "build-cpp") {
|
||||
await startGroup("sccache stats", () => {
|
||||
spawn("sccache", ["--show-stats"], { env });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user