Uh oh!
There was an error while loading. Please reload this page.
ci(amicode): build and release a linux-arm64 binary - #101
Merged
Conversation
Devcontainers on Apple Silicon run linux/arm64; the release only shipped linux-x64 and darwin-arm64, so amicode had no binary to vendor for them. opencode-linux-arm64 was already a valid target in script/build.ts, so this is a target-list entry plus packaging. Bun cross-compiles it from the x64 runner exactly like darwin-arm64. The gate check is a grep on the binary so it works cross-compiled; only the --version exec stays x64-only, and amicode's boot-smoke covers linux-arm64 natively on an arm runner.
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 freeto 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.
Adds
opencode-linux-arm64to the amicode release build so devcontainers on Apple Silicon (linux/arm64) have a binary to vendor.opencode-linux-arm64is already a valid target inscript/build.ts, so this is a target-list entry plus packaging — bun cross-compiles it from the x64 runner the same way darwin-arm64 is built today.OPENCODE_BUILD_TARGETSgainsopencode-linux-arm64opencode-linux-arm64.tar.gzwith a flatopencodeinside, per the amicode fetcher contract, and added to SHA256SUMS + the release assetsThe
--versionexec stays x64-only since that's the only natively-runnable binary here. amicode'sboot-smokejob will cover linux-arm64 natively on aubuntu-24.04-armrunner (free — amicode is a public repo).Next: tag
v1.17.3-amicode.13to cut the release, then pin it in amicode'sopencode.lock.json.