Skip to content

ci(amicode): build and release a linux-arm64 binary - #101

Merged
jack-champagne merged 1 commit into
local/amicodefrom
jack/linux-arm64-target
Jul 29, 2026
Merged

jack-champagne merged 1 commit into
local/amicodefrom
jack/linux-arm64-target

Conversation

@jack-champagne

Copy link
Copy Markdown
Member

Adds opencode-linux-arm64 to the amicode release build so devcontainers on Apple Silicon (linux/arm64) have a binary to vendor.

opencode-linux-arm64 is 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 the same way darwin-arm64 is built today.

  • OPENCODE_BUILD_TARGETS gains opencode-linux-arm64
  • gate check runs against it (pure grep on the binary, works cross-compiled)
  • packaged as opencode-linux-arm64.tar.gz with a flat opencode inside, per the amicode fetcher contract, and added to SHA256SUMS + the release assets

The --version exec stays x64-only since that's the only natively-runnable binary here. amicode's boot-smoke job will cover linux-arm64 natively on a ubuntu-24.04-arm runner (free — amicode is a public repo).

Next: tag v1.17.3-amicode.13 to cut the release, then pin it in amicode's opencode.lock.json.

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.
@jack-champagne
jack-champagne merged commit 63e56ed into local/amicode Jul 29, 2026
2 of 4 checks passed
@jack-champagne
jack-champagne deleted the jack/linux-arm64-target branch July 29, 2026 15:36
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.

1 participant