Skip to content

Find the runtime DLLs in Cargo's actual target directory - #13

Merged
thorstenalpers merged 1 commit into
mainfrom
fix/stage-runtime-target-dir
Oct 1, 2026
Merged

thorstenalpers merged 1 commit into
mainfrom
fix/stage-runtime-target-dir

Conversation

@thorstenalpers

Copy link
Copy Markdown
Owner

Summary

The Rust and Release jobs still failed at "Stage the runtime DLLs": even after a clean rebuild of sherpa-onnx-sys, the script found nothing under src-tauri/target/sherpa-onnx-prebuilt, and cargo clean -p in the release job removed 0 files, which points at the artifacts living in a different target directory on the runner.

The script now asks cargo metadata for the target directory, searches both <target>/sherpa-onnx-prebuilt and <target>/<profile>, and on failure prints the build script output (-vv) and the DLLs it can see, so the next failure explains itself.

Verification

Locally, on a fresh clone: passes with the default target directory and with CARGO_TARGET_DIR pointing elsewhere. Whether that was the cause on the runner is not proven yet; this CI run will show it.

🤖 Generated with Claude Code

@thorstenalpers
thorstenalpers merged commit 9948733 into main Oct 1, 2026
1 of 2 checks passed
@thorstenalpers
thorstenalpers deleted the fix/stage-runtime-target-dir branch October 1, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant