feat(windows): native ARM64 build (prebuilt PDFium/WebView2Loader + experimental workflow) - #294
feat(windows): native ARM64 build (prebuilt PDFium/WebView2Loader + experimental workflow)#294art804 wants to merge 2 commits into
Conversation
- binaries/win-arm64/pdfium.dll: bblanchon chromium/7834 build, the same release the win-x64 dll and the Linux CI fetch already pin - binaries/win-arm64/WebView2Loader.dll: Microsoft.Web.WebView2 1.0.4078.44, runtimes/win-arm64/native - README.md documents provenance and update steps, matching the win-x64 directory's format
Builds an arm64 NSIS installer natively on windows-11-arm runners (free on public repositories): swaps bundle.resources to the win-arm64 pdfium/WebView2Loader, builds via the normal tauri:build path (build.rs already suffixes the sidecar with the host triple), verifies the PE machine type and uploads the installer artifact. Standalone and manually triggered so it can be stabilised before joining the release matrix.
ca9e23f to
61e3b04
Compare
|
Rebased onto Since #293 moved the Windows bundled DLLs ( I also added a check to the verify step that fails the build if the bundled Verified: a native ARM64 build now opens and renders PDFs correctly on a Windows-on-ARM device. Happy to adjust anything. |
|
A note on the red check here, in case it's what's holding this up.
That's the Linux AppImage harness's own GVFS negative case. This PR is Windows-only: two prebuilt DLLs under Happy to rebase onto 1.84 for a fresh CI run whenever suits. I've held off because
Glad to send that as its own small PR if it would save you a minute. And happy to make any changes you'd like here in the meantime. |
Adds native Windows-on-ARM support: prebuilt ARM64 dependencies plus an
experimental, manually-triggered CI workflow that produces an arm64 NSIS
installer on GitHub's
windows-11-armrunners (free for public repos).binaries/win-arm64/pdfium.dll— bblanchonchromium/7834, the same PDFium release theexisting
win-x64dll and the Linux CI fetch already pin.WebView2Loader.dll—Microsoft.Web.WebView21.0.4078.44,runtimes/win-arm64/native.README.mddocuments provenance/update steps, matching thewin-x64dir..github/workflows/windows-arm64.yml(experimental,workflow_dispatch)bundle.resourcesto the win-arm64 pdfium/WebView2Loader, then buildsthrough the normal
tauri:buildpath —build.rsalready suffixes thepdfium-worker sidecar with the host target triple
(
aarch64-pc-windows-msvc), so no manual sidecar copy is needed.Kept standalone and manual on purpose, so it can be stabilised before being
folded into the release matrix. Remaining integration steps for
release.yml(left out of this PR to keep it focused): a per-user installer variant,
Authenticode signing, and
windows-aarch64entries in the updater'slatest.json.Verified: produces a working native arm64 installer on
windows-11-arm.