Skip to content

ci: add aarch64-linux support for checks, builds, and releases - #990

Merged
nzbr merged 0 commit into
nix-community:mainfrom
codgician:add-aarch64-support
Mar 15, 2026
Merged

ci: add aarch64-linux support for checks, builds, and releases#990
nzbr merged 0 commit into
nix-community:mainfrom
codgician:add-aarch64-support

Conversation

@codgician

@codgician codgician commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Add aarch64-linux support to the CI/CD pipeline, enabling ARM64 Windows releases, fixes #534

Changes

  • run_checks.yml: Run flake checks on both x86_64-linux and aarch64-linux using matrix strategy
  • run_build.yml: Build tarballs for both architectures using matrix strategy
    • nixos.wsl (x86_64) on ubuntu-24.04
    • nixos.aarch64.wsl (aarch64) on ubuntu-24.04-arm
  • run_validate.yml: Validate both tarballs using matrix strategy
  • run_tests.yml: Use tarball-x86_64 artifact name (tests remain x86_64-only as windows-11-arm runner lacks nested virtualization support required for WSL2)
  • on_release.yml: Upload both tarballs with checksums on release
  • flake.nix: Add aarch64 nixosConfiguration using a shared mkSystem helper

Release Artifacts

With this change, releases will include:

  • nixos.wsl + nixos.wsl.sha256 (x86_64)
  • nixos.aarch64.wsl + nixos.aarch64.wsl.sha256 (aarch64)

Testing

Screenshot

Tested on Surface Pro 11 (Snapdragon X Elite)

@nzbr

nzbr commented Mar 15, 2026

Copy link
Copy Markdown
Member

Oh so there finally are ARM runners! Thanks for adding support

@nzbr
nzbr enabled auto-merge (rebase) March 15, 2026 01:24
@nzbr
nzbr disabled auto-merge March 15, 2026 01:24
@nzbr
nzbr merged commit 2a84814 into nix-community:main Mar 15, 2026
34 checks passed
@mdaniels5757 mdaniels5757 added the ARM Related to running on aarch64/Windows on ARM label Jun 5, 2026
@mdaniels5757 mdaniels5757 changed the title ci: add aarch64-linux support for checks, builds, and releases add aarch64-linux support for checks, builds, and releases Jun 5, 2026
@mdaniels5757 mdaniels5757 changed the title add aarch64-linux support for checks, builds, and releases ci: add aarch64-linux support for checks, builds, and releases Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARM Related to running on aarch64/Windows on ARM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to run on Windows ARM with Snapdragon X Elite

4 participants