Skip to content

Commit cc7eba9

Browse files
ci: use native ubuntu-24.04-arm runner for ARM64 Linux build
cross-compilation via 'cross' fails metadata resolution because ../airframe is an optional path dep that doesn't exist on the Ubuntu runner. cross runs cargo metadata before entering the Docker container, which resolves all path deps including optional ones. Native ARM64 runner eliminates cross entirely — no Docker, no metadata issue. Airframe is still excluded from this binary (features: huggingface) since wgpu requires a native GPU build.
1 parent 8590e3f commit cc7eba9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,12 @@ jobs:
191191
# Linux x86_64 - SKIPPED - Built in reuse-gate-binary job above
192192
# Prevents artifact naming conflict (409 error)
193193

194-
- os: ubuntu-latest
194+
- os: ubuntu-24.04-arm
195195
target: aarch64-unknown-linux-gnu
196196
binary-name: shimmy
197197
artifact-name: shimmy-linux-aarch64
198-
features: huggingface # cross-compilation; Airframe requires native wgpu build
199-
use-cross: true
200-
optional: true
198+
features: huggingface # native ARM64 runner; Airframe requires native wgpu build
199+
use-cross: false
201200

202201
# Windows x64 — Airframe GPU engine included
203202
- os: windows-latest

0 commit comments

Comments
 (0)