mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-09 09:15:54 +08:00
ci: stabilize Win7 sccache cache keys with /Brepro
This commit is contained in:
@@ -147,6 +147,12 @@ test("Windows compatibility jobs cache Rust compilation without wrapping C or C+
|
||||
assert.ok(win7.includes("fc920bf0ec8de6ee65d409111f7ec508035751ba"));
|
||||
assert.ok(win7.includes('version: "v0.16.0"'));
|
||||
assert.ok(win7.includes("sccache --show-stats"));
|
||||
for (const flag of ["-Z host-config", "-Z target-applies-to-host", "-Z build-std=std,panic_abort"]) assert.ok(win7.includes(flag));
|
||||
assert.ok(win7.includes("--config .github/fixtures/win7-host-repro-config.toml"));
|
||||
const hostConfig = readFileSync(new URL("../fixtures/win7-host-repro-config.toml", import.meta.url), "utf8");
|
||||
assert.ok(hostConfig.includes("target-applies-to-host = false"));
|
||||
assert.ok(hostConfig.includes('[host.x86_64-pc-windows-msvc]'));
|
||||
assert.ok(hostConfig.includes('rustflags = ["-Clink-arg=/Brepro"]'));
|
||||
assert.ok(win7.includes("--timings"));
|
||||
assert.ok(win7.includes("name: DBX-win7-cargo-timings"));
|
||||
assert.ok(win7.includes("path: target/cargo-timings/"));
|
||||
|
||||
Reference in New Issue
Block a user