Skip to content

fix: align release build job with CI to fix aarch64 failure#67

Merged
sc2ben merged 1 commit into
mainfrom
fix/release-aarch64-build
Jun 6, 2026
Merged

fix: align release build job with CI to fix aarch64 failure#67
sc2ben merged 1 commit into
mainfrom
fix/release-aarch64-build

Conversation

@tsunaminoai

Copy link
Copy Markdown
Contributor

Summary

  • Add sandbox = false to the release build job's Nix config — CI has this, release didn't; without it, zig2nix fails to build from source on aarch64-linux when the FlakeHub cache returns 401
  • Switch nix buildnix build .#zigmark-safe -o result to match what CI builds, avoiding the debug default package's different dep closure
  • Bump actions/checkout@v4@v6 to match CI

…rget

aarch64-linux was failing because:
1. Missing sandbox=false caused zig2nix to fail building from source
   when the FlakeHub cache returned 401 (same fix CI already has)
2. nix build (debug default) has a different dep closure than zigmark-safe;
   using the same target as CI ensures consistent behaviour
Also bumps checkout to v6 to match CI.
Copilot AI review requested due to automatic review settings June 6, 2026 16:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aligns the release GitHub Actions workflow’s Nix build configuration with the existing CI workflow to address an aarch64-linux release build failure path (notably when FlakeHub cache access fails and a source build is required).

Changes:

  • Updated release workflow to use actions/checkout@v6 (matching CI).
  • Added sandbox = false to the release build job’s Nix configuration (matching CI).
  • Changed the release build command to explicitly build .#zigmark-safe and link output to result to match the expected artifact layout and CI’s target package.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sc2ben sc2ben merged commit 54cadb2 into main Jun 6, 2026
5 checks passed
@sc2ben sc2ben deleted the fix/release-aarch64-build branch June 6, 2026 18:29
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.

3 participants