fix(ci): invoke Win7 sccache stats on PowerShell

This commit is contained in:
luo jiyin authored and GitHub committed 2026-09-22 10:56:03 +08:00
1 parent f328888a68
commit f8d7b57c19
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -141,6 +141,7 @@ test("Windows compatibility jobs cache Rust compilation without wrapping C or C+
for (const setting of ["RUSTC_WRAPPER: sccache", 'SCCACHE_GHA_ENABLED: "true"', "SCCACHE_GHA_VERSION: win7-webview2-1.0.902.49-v1", 'SCCACHE_IDLE_TIMEOUT: "0"', 'CARGO_PROFILE_RELEASE_LTO: "off"', 'CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "8"']) assert.ok(win7.includes(setting));
assert.ok(win7.includes("fc920bf0ec8de6ee65d409111f7ec508035751ba"));
assert.ok(win7.includes('version: "v0.16.0"'));
assert.ok(win7.includes("sccache --show-stats"));
assert.ok(win7.includes("--timings"));
assert.ok(win7.includes("name: DBX-win7-cargo-timings"));
assert.ok(win7.includes("path: target/cargo-timings/"));