Skip to content

ci: build for windows arm64#1084

Draft
clementb49 wants to merge 7 commits intomasterfrom
winArm
Draft

ci: build for windows arm64#1084
clementb49 wants to merge 7 commits intomasterfrom
winArm

Conversation

@clementb49
Copy link
Collaborator

No description provided.

clementb49 and others added 7 commits March 13, 2026 19:35
Add arm64 architecture to the build matrix using the windows-11-arm
hosted runner, and fix Inno Setup installer to use arm64 install mode
instead of x64compatible for ARM64 builds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add OPENSSL_VENDORED=1 for ARM64 builds since cryptography 46.x has no
win_arm64 wheel on PyPI and must be compiled from source. Also declare
uv environments to include win_arm64 in lock file resolution, removing
macOS/Linux-only packages from the lock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace ineffective OPENSSL_VENDORED approach (blocked by cargo --locked
in maturin) with a vcpkg-based OpenSSL installation. The compiled output
is cached under a stable key to avoid recompiling on every run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add platform marker to exclude accessible-output3 on ARM64 Windows.
Guard the import with try/except so the app runs gracefully when the
package is absent; use_accessible_output now returns False when
accessible_output3 is not installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Inno Setup does not support the arm64compatible identifier. Use a
preprocessor conditional to set ArchitecturesAllowed=arm64 for ARM64
and {arch}compatible for x86/x64 builds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
platform.architecture() returns '64bit' on ARM64, causing the updater
to download the x64 installer. Check platform.machine() first to
correctly identify ARM64 Windows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant