build: add linux arm64 prebuilt package release support#107
Merged
benvinegar merged 1 commit intomodem-dev:mainfrom Mar 24, 2026
Merged
build: add linux arm64 prebuilt package release support#107benvinegar merged 1 commit intomodem-dev:mainfrom
benvinegar merged 1 commit intomodem-dev:mainfrom
Conversation
Greptile SummaryThis PR extends the prebuilt binary release pipeline to include a native Linux ARM64 package ( The change touches all three layers consistently:
No behaviour changes for existing platforms; this is a pure additive extension. Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
T[Tag push / workflow_dispatch] --> M[build-binaries matrix]
M --> J1[hunkdiff-darwin-arm64\nmacos-14]
M --> J2[hunkdiff-darwin-x64\nmacos-15-intel]
M --> J3[hunkdiff-linux-x64\nubuntu-latest]
M --> J4[hunkdiff-linux-arm64\nubuntu-24.04-arm\n🆕 NEW]
J1 & J2 & J3 & J4 --> SR[stage-release\nubuntu-latest]
SR --> PUB[publish\nubuntu-latest]
PUB --> GHR[create-github-release]
Reviews (1): Last reviewed commit: "build: add linux arm64 prebuilt package ..." | Re-trigger Greptile |
Member
|
@aliou Thanks - yep just an oversight. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello again!
This adds linux arm64 to the built pipeline. I tried to figure out if there was a particular reason this wasn't already the case but couldn't find one, please lmk if there's something I missed!
For context, I work on some projects from inside a Lima vm on my mac, which by defaults re-uses the same arch but on linux.
summary by gpt 5.3
Summary
Add Linux ARM64 (
aarch64) to the prebuilt release pipeline sohunkdiffcan publish a nativehunkdiff-linux-arm64package.Changes
scripts/prebuilt-package-helpers.tshunkdiff-linux-arm64spec.github/workflows/release-prebuilt-npm.ymlhunkdiff-linux-arm64build job onubuntu-24.04-armtest/prebuilt-package-helpers.test.tslinux/arm64to resolveWhy
Source build on Linux ARM64 already works (validated in
lima-default), but prebuilt publishing did not include linux arm64. This aligns packaging with actual runtime support.Validation
bun run typecheckbun test test/prebuilt-package-helpers.test.tsbash ./scripts/build-bin.shbun ./scripts/stage-prebuilt-npm.tsbun ./scripts/check-prebuilt-pack.tsNotes