ci: add explicit aarch64 build check #2

Merged
barrettruth merged 1 commit from ci/aarch64-build-check into main 2026-05-04 02:13:09 +00:00
Owner

Problem

The flake exposes aarch64-linux, but the quality workflow did not make that support explicit. That makes it easy to miss if a future runner change stops validating the ARM build.

Solution

Add a dedicated Build aarch64 quality job and a just build-aarch64 recipe. The recipe asserts builtins.currentSystem is aarch64-linux before building .#packages.aarch64-linux.luarocks-tag-release-action, so an x86 runner cannot silently claim ARM coverage.

Verification

  • nix develop --accept-flake-config .#ci --command just format
  • workflow YAML parsed with Ruby YAML
  • git diff --check
  • local just build-aarch64 fails as expected on this x86_64 machine at the system guard
Problem The flake exposes `aarch64-linux`, but the quality workflow did not make that support explicit. That makes it easy to miss if a future runner change stops validating the ARM build. Solution Add a dedicated `Build aarch64` quality job and a `just build-aarch64` recipe. The recipe asserts `builtins.currentSystem` is `aarch64-linux` before building `.#packages.aarch64-linux.luarocks-tag-release-action`, so an x86 runner cannot silently claim ARM coverage. Verification - `nix develop --accept-flake-config .#ci --command just format` - workflow YAML parsed with Ruby YAML - `git diff --check` - local `just build-aarch64` fails as expected on this x86_64 machine at the system guard
ci: add explicit aarch64 build check
All checks were successful
quality / Lint (pull_request) Successful in 5s
quality / Test (pull_request) Successful in 6s
quality / Format (pull_request) Successful in 8s
quality / Build aarch64 (pull_request) Successful in 11s
cbe8ef416e
barrettruth deleted branch ci/aarch64-build-check 2026-05-04 02:13:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/luarocks-tag-release-forgejo!2
No description provided.