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
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:
@@ -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}"))
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user