Commit 19902c4
committed
ci: use ubuntu-24.04-arm runner for Linux ARM64 release
The Linux ARM64 release job was failing at the smoke test step
with 'Exec format error' because the binary was built for aarch64
but the smoke test ran on ubuntu-latest (x86_64).
GitHub provides ARM64 runners (Graviton-based) for public repos:
- ubuntu-22.04-arm
- ubuntu-24.04-arm
Switching the Linux ARM64 job to ubuntu-24.04-arm gives us a
native aarch64 environment where the binary can be smoke-tested
properly (./ado --version, etc.) instead of just checking 'file'
output.
All 4 release jobs now run on a native runner for their target
architecture:
- Linux x86_64 -> ubuntu-latest (x86_64)
- Linux ARM64 -> ubuntu-24.04-arm (aarch64)
- macOS Intel -> macos-latest (x86_64)
- macOS Apple -> macos-latest (aarch64)
Removed the matrix.native flag and the 'Verify cross-arch binary'
step — they're no longer needed. The smoke test step is
unconditional and includes a 'file $BINARY' line for an extra
sanity check on the produced binary.
Verified: actionlint clean, mix ci green, 162 tests pass.1 parent 3efb5b8 commit 19902c4
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
325 | 328 | | |
326 | 329 | | |
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
330 | 333 | | |
| 334 | + | |
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
| |||
0 commit comments