Skip to content

feat(ci): build and ship aarch64-unknown-linux-gnu - #364

Open
avrabe wants to merge 2 commits into
mainfrom
feat/aarch64-linux-release
Open

feat(ci): build and ship aarch64-unknown-linux-gnu#364
avrabe wants to merge 2 commits into
mainfrom
feat/aarch64-linux-release

Conversation

@avrabe

@avrabe avrabe commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

v1.4.1 shipped four binaries — x86_64-linux, both macOS arches, Windows. ARM Linux had none: servers, arm64 containers, ARM CI runners and SBCs all had to build from source with a C++ toolchain, which is the dependency #313 exists to remove.

The stated blocker no longer applies

release.yml carried this note:

No aarch64-linux for now: … cross-compiling z3-sys for aarch64-linux is untested.

True when written, and now moot. The target builds natively on a GitHub-hosted arm64 Linux runner — nothing is cross-compiled. z3-sys vendors and statically compiles z3, so it needs no host libz3 on any runner, ARM included, and those runners are free for public repositories, which this one is.

Where the evidence lives is the load-bearing decision

release.yml only fires on a tag push. A target added there alone would ship on the strength of a job that had never run — the unexercised-gate shape this repo keeps finding, and precisely what v1.4.1 was cut to punish.

So the target is also built on every PR via the CI matrix. A toolchain or z3-sys regression on ARM now fails a check immediately, instead of surfacing during a release when it is most expensive.

This PR's own CI is that evidence. If the ubuntu-22.04-arm build is not green here, the release entry does not belong on main.

Both #311 gates extended, not left x86_64-only

  • Floor assertion — now reads the ARM binary's own symbols; the step no longer hardcodes the x86_64 path. Still fail-closed: an undeterminable floor is an error, not a pass.
  • Smoke run — the ARM binary is executed on the ARM image it was built for, not merely inspected.

A shipped target whose floor is only hoped-for is exactly how v1.2.0 went out unloadable.

Status is draft, deliberately

TEST-AARCH64-LINUX-RELEASE-TARGET is filed against v1.5.0 as draft, not verified. The workflow edit is not evidence. It flips when the ARM job has actually run green — and the release gate correctly reads ✗ NOT cuttable until then.

Refs #311, #313

avrabe and others added 2 commits August 28, 2026 06:12
v1.4.1 shipped four binaries — x86_64-linux, both macOS arches, Windows.
ARM Linux had none: servers, arm64 containers, ARM CI runners and single
board machines all had to build from source with a C++ toolchain, which
is the dependency #313 exists to remove.

The deferral note in release.yml gave the reason as "cross-compiling
z3-sys for aarch64-linux is untested". That was true and is now moot: the
target builds NATIVELY on a GitHub-hosted arm64 Linux runner, so nothing
is cross-compiled. z3-sys vendors and statically compiles z3, so it needs
no host libz3 on any runner, ARM included, and those runners are free for
public repositories — which this one is.

--- where the evidence lives is the load-bearing decision ---

`release.yml` only fires on a tag push. A target added THERE ALONE would
ship on the strength of a job that had never run: the unexercised-gate
shape this repository keeps finding, and precisely what v1.4.1 was cut to
punish. So the target is also built on EVERY PR via the CI matrix, and a
toolchain or z3-sys regression on ARM fails a check immediately instead
of surfacing during a release.

--- both #311 gates extended, not left x86_64-only ---

The glibc/libstdc++ floor is now asserted from the ARM binary's OWN
symbols (the step no longer hardcodes the x86_64 path), and the binary is
SMOKE-RUN natively on the ARM image it was built for rather than merely
inspected. A shipped target whose floor is only hoped-for is exactly how
v1.2.0 went out unloadable.

The rivet artifact is deliberately `draft`, not `verified`: the workflow
edit is not evidence. It flips when the ARM job has actually run green.

Refs #311, #313

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZof1M5HMBSYVZPeoT4MEn
`Build (ubuntu-22.04-arm)` ran green on PR #364. That settles the three
things actually in doubt: arm64 Linux runners are available to this
repository, z3-sys compiles its vendored C++ natively on ARM, and loom
builds for the target.

It settles nothing about the release path. Publishing the archive,
asserting the glibc floor from the ARM binary's symbols, and smoke-running
it all live in release.yml, which fires only on a tag push. That code is
written and reviewed; none of it has executed.

So the artifact stays `draft` with each criterion labelled PROVEN or
PENDING A TAG. Flipping it to `verified` on the strength of the CI job
would assert an untested gate — the exact defect class v1.4.1 was cut to
remove, and it would be a poor way to celebrate that.

Refs #311, #313

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZof1M5HMBSYVZPeoT4MEn
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