build(win7): make the WebView2 loader build reproducible
This commit is contained in:
1 parent
04376ef3fb
commit
ead307dba0
29 files changed
+44534
-111
No files matched your search
@@ -140,14 +140,12 @@ describe("Windows 7 fixed WebView2 runtime bundle", () => {
|
||||
expect(releaseWorkflow).toContain("./.github/scripts/assert-webview2-win7-loader.ps1");
|
||||
});
|
||||
|
||||
it("keeps compile caching away from the Win7 WebView2 loader patch", () => {
|
||||
it("keeps the existing Win7 compile-cache policy unchanged", () => {
|
||||
const releaseWin7Job = releaseWorkflow.slice(releaseWorkflow.indexOf(" build-windows-7-offline:"), releaseWorkflow.indexOf(" static-browser:"));
|
||||
const ciWin7Job = ciWorkflow.slice(ciWorkflow.indexOf(" windows-win7-bundle:"), ciWorkflow.indexOf(" duckdb-windows-driver:"));
|
||||
|
||||
// The loader patch rewrites a file inside the cargo registry, which no
|
||||
// compile cache can see. v0.6.0 linked a >= 1.0.1054.31 loader despite the
|
||||
// patched 1.0.902.49 one being verified on disk, so neither Win7 job may
|
||||
// route rustc through sccache until the loader is vendored into the tree.
|
||||
// The vendored loader makes compile caching safe. This change does not alter
|
||||
// cache policy. A separate CI change can enable caching for these jobs.
|
||||
expect(releaseWin7Job).not.toContain("RUSTC_WRAPPER");
|
||||
expect(releaseWin7Job).not.toContain("sccache-action");
|
||||
expect(ciWin7Job).not.toContain("RUSTC_WRAPPER");
|
||||
|
||||
Reference in new issue
Block a user