feat(ci): D-05 ONNX pattern — gnu matrix, bundle libonnxruntime.so #27

Merged
mik-tf merged 3 commits from development_mik_voice_ci into development 2026-05-05 19:26:30 +00:00
Owner

Summary

  • Port build-linux.yaml to D-05 ONNX cross-compile pattern (pilot: session 60 editor)
  • Matrix swap x86_64-unknown-linux-muslx86_64-unknown-linux-gnu (Microsoft ships no musl tarball)
  • Add Bundle ONNX Runtime step (download Microsoft official .tgz, extract libonnxruntime.so.* next to binaries)
  • Pin ONNXRUNTIME_VERSION=1.25.1 in buildenv.sh (lockstep with service_voice.nu)
  • Mirror toolchain/auth from build.yaml: manual git clone (Forgejo auth bug), SSH setup for private repos
  • No build-macos.yaml (forge has no macOS runner — item 15)

Verification

  • cargo tree -e features | grep -A2 ort shows load-dynamic, NOT download-binaries
  • Pre-flight: FORGEJO_TOKEN has write:repository scope (item 16)

See: decisions/D-05-onnx-cross-compile.md, sessions/60.yml

## Summary - Port `build-linux.yaml` to D-05 ONNX cross-compile pattern (pilot: session 60 editor) - Matrix swap `x86_64-unknown-linux-musl` → `x86_64-unknown-linux-gnu` (Microsoft ships no musl tarball) - Add Bundle ONNX Runtime step (download Microsoft official `.tgz`, extract `libonnxruntime.so.*` next to binaries) - Pin `ONNXRUNTIME_VERSION=1.25.1` in `buildenv.sh` (lockstep with `service_voice.nu`) - Mirror toolchain/auth from `build.yaml`: manual git clone (Forgejo auth bug), SSH setup for private repos - No `build-macos.yaml` (forge has no macOS runner — item 15) ## Verification - `cargo tree -e features | grep -A2 ort` shows `load-dynamic`, NOT `download-binaries` - Pre-flight: `FORGEJO_TOKEN` has `write:repository` scope (item 16) See: [decisions/D-05-onnx-cross-compile.md](https://forge.ourworld.tf/lhumina_code/hero_work/src/branch/development/decisions/D-05-onnx-cross-compile.md), [sessions/60.yml](https://forge.ourworld.tf/lhumina_code/hero_work/src/branch/development/sessions/60.yml)
fix(ort): downgrade to rc.11 to fix VitisAI compile error
Some checks failed
Build / build (pull_request) Has been cancelled
a32f1c315f
ort v2.0.0-rc.12 has a bug where SessionOptionsAppendExecutionProvider_VitisAI
is referenced but missing from the OrtApi struct, causing compile error E0609.
rc.11 compiles cleanly with load-dynamic + ndarray features.

Signed-off-by: mik-tf
fix(lint): clippy warnings in hero_voice_app (collapsible_if, unused_mut)
All checks were successful
Build / build (pull_request) Successful in 9m16s
bf4569e4c2
Pre-existing debt (same pattern as hero_biz#22 / hero_foundry#28 / hero_editor#7).
Collapses nested if-let chains, removes unnecessary mut.

Signed-off-by: mik-tf
mik-tf merged commit 5e776804fd into development 2026-05-05 19:26:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_voice!27
No description provided.