Skip to content

[2.2] Fixup CI and support ARM64 Windows - #480

Open
JamiKettunen wants to merge 6 commits into
kwhat:2.2from
JamiKettunen:ci-fixup-and-win-arm64
Open

[2.2] Fixup CI and support ARM64 Windows#480
JamiKettunen wants to merge 6 commits into
kwhat:2.2from
JamiKettunen:ci-fixup-and-win-arm64

Conversation

@JamiKettunen

@JamiKettunen JamiKettunen commented Aug 11, 2026

Copy link
Copy Markdown

I've tested the windows-arm64 build already as working with a program when the native lib was copied in.

Trying to hackily use the 32-bit ARM one doesn't work on modern AArch64 CPUs (like Snapdragon X Elite) and x64 one seems to need some ARM64EC shenanigans I've got no clue about and can be easily avoided with a native build for the architecture.

I also noticed compile-apple-x86_64 was failing on ARM64 macOS host so I pinned the x86_64 job runner on macos-26-intel until fat/universal library build is setup perhaps or x86_64 macOS support is dropped later.

If a maintenance 2.2.3 release could be cut afterward I'd much appreciate it :)

Closes #468 too I guess.

@JamiKettunen
JamiKettunen force-pushed the ci-fixup-and-win-arm64 branch from 91bdde3 to 944974b Compare August 11, 2026 11:58
Also do so for non-critical ones like checkout and drop some already
default values defined for setup-java since we might as well.
We can build the libraries under Windows just fine even after omitting
this; do so before using Node 20 runner actions becomes a fatal error:
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Per https://github.com/actions/runner-images/tree/main#available-images
macos-latest is now ARM64 which messes up the x64 (cross-)build while
macos-latest-large seems to need some paid tier. Versioning this
shouldn't matter much since reportedly this is going to be the final
macOS version supporting x86_64/Intel machines anyway. Later
fat/universal library build could be setup instead for example.
The specified "windows-latest" runner environment preinstalled tooling
has moved on.
32-bit Windows on ARM has been dead for a while and e.g. my Snapdragon X
Elite laptop cannot even execute AArch32 machine code natively.
@JamiKettunen
JamiKettunen force-pushed the ci-fixup-and-win-arm64 branch from 944974b to a710ee0 Compare August 11, 2026 13:59
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