perf(ci): disable LTO for Win7 validation

This commit is contained in:
luo jiyin authored and GitHub committed 2026-09-21 01:06:43 +08:00
1 parent 3f99c1231b
commit 21833a9c8e
3 files changed
+3 -3

No files matched your search

@@ -154,7 +154,7 @@ describe("Windows 7 fixed WebView2 runtime bundle", () => {
expect(job).not.toMatch(/^\s+(?:CC|CXX):/m);
}
expect(releaseWin7Job).not.toContain("CARGO_PROFILE_RELEASE_");
expect(ciWin7Job).toContain('CARGO_PROFILE_RELEASE_LTO: "thin"');
expect(ciWin7Job).toContain('CARGO_PROFILE_RELEASE_LTO: "off"');
expect(ciWin7Job).toContain('CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "8"');
});