ANW-30 CI: cross-compile arm64 on the host runner

The arm64 (apple-silicon) target assumed a native macOS runner, which
does not exist on the forge. There is one self-hosted runner, ws-brn,
registered linux-amd64:host -- jobs run directly on the host as brn,
with no docker. So cross-rs cannot run (no container engine), and it
cannot target apple-darwin from Linux regardless.

Build arm64 by native cross-compilation instead: rustup target add
aarch64-unknown-linux-gnu plus the host's aarch64-linux-gnu-gcc linker.
Same arm64 binary, no docker. The asset is now aarch64-linux.

Also drop the host-incompatible setup steps surfaced by running it on
the real runner: hurl is already installed (the sudo dpkg step failed,
brn has no passwordless sudo) and the aarch64 linker is already present.
Split a single test gate (test + hurl) from the per-target build matrix.

Pass inputs.tag via env to the staging step (sie review note, ANW-30).
This commit is contained in:
Andreas Brenner 2026-06-24 00:07:27 +03:00
parent 09b9b99791
commit ecd6452ef6
2 changed files with 53 additions and 56 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/target
Cargo.lock.tmp
scratch-runner.log