Package Windows with statically linked ONNX Runtime.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m59s
Tagged release / build-linux-x64 (push) Successful in 35m33s
Tagged release / build-macos (push) Failing after 22m50s
Tagged release / build-windows (push) Has been cancelled
Tagged release / publish-release (push) Has been cancelled
Tagged release / build-linux-arm64 (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-08-15 00:33:56 +00:00
parent 2bc42c7483
commit 6a4cf3fc2b
3 changed files with 4 additions and 5 deletions

View File

@@ -271,7 +271,7 @@ fn runtime_files(
.filter_map(|name| name.into_string().ok())
.filter(|name| name.starts_with("libonnxruntime.so"))
.collect::<Vec<_>>(),
Platform::Windows => ["onnxruntime.dll", "DirectML.dll", "DirectML-LICENSE.txt"]
Platform::Windows => ["DirectML.dll", "DirectML-LICENSE.txt"]
.into_iter()
.map(str::to_owned)
.collect(),
@@ -640,7 +640,6 @@ mod tests {
"bds-mcp.exe",
"bds_core.dll",
"bds_server.dll",
"onnxruntime.dll",
"DirectML.dll",
"DirectML-LICENSE.txt",
] {
@@ -663,7 +662,7 @@ mod tests {
.by_name("bds-desktop-v1.2.3-windows-x64/bds_core.dll")
.is_ok()
);
for runtime in ["onnxruntime.dll", "DirectML.dll", "DirectML-LICENSE.txt"] {
for runtime in ["DirectML.dll", "DirectML-LICENSE.txt"] {
assert!(
archive
.by_name(&format!("bds-desktop-v1.2.3-windows-x64/{runtime}"))

View File

@@ -167,7 +167,7 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
}
assert!(
!workflow.contains("target-feature=+crt-static"),
"Windows and downloaded ONNX Runtime must use the same dynamic CRT"
"Windows system dependencies must use the dynamic CRT"
);
assert!(
!workflow.contains("run --release --locked --package bds-release"),