feat(ci): publish cross-compiled runner binaries as release assets (#1)
## Summary
- Adds `publish-runner` CI step that builds the CLI for linux_arm64 (native on Pi) and linux_amd64 (cross-compiled), then uploads both as release assets under a `latest` tag
- Fixes the broken `/runner/download` endpoint — currently returns `{"platforms":[]}` because the old Burrito/Elixir build was silently failing
## Prerequisites (one-time on Pi runner)
```bash
rustup target add x86_64-unknown-linux-gnu
sudo apt-get install -y gcc-x86-64-linux-gnu
```
## Test plan
- [ ] Install cross-compilation toolchain on Pi runner
- [ ] Merge and verify CI `publish-runner` step succeeds
- [ ] Verify `anvil release assets latest fangorn/anvil-cli` shows both binaries
- [ ] Server-side consumption of these assets is a separate task
Closes #1
SHA:
98c330db77d3ea0c53c6ec2c487a5fb9e6ffe366
Author:
Anvil <noreply@anvil.fangorn.io>
Date:
2026-04-10 04:25
Parents:
9b0ea17
10 files changed
+330
-160
| Type | ||
|---|---|---|
|
|
.anvil.yml | +33 −1 |
|
||