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

@@ -35,7 +35,7 @@ RuDS uses no JavaScript application runtime and loads no CSS or JavaScript from
The packaged Apple Silicon application requires macOS 26 or newer. The packaged Apple Silicon application requires macOS 26 or newer.
Packaged executables share native `bds-core` and `bds-server` dynamic libraries. macOS and Linux link ONNX Runtime statically into `bds-core`; Windows archives carry the matching ONNX Runtime DLL plus Microsoft's DirectML redistributable and license for GPU-accelerated local embeddings. The **Install CLI** action replaces `~/.local/bin/bds-cli` with a symbolic link to the packaged CLI, so the command executes beside the same runtime libraries and always follows the package selected by the latest installation. Packaged executables share native `bds-core` and `bds-server` dynamic libraries and link ONNX Runtime statically into `bds-core`. Windows archives additionally carry Microsoft's DirectML redistributable and license for GPU-accelerated local embeddings. The **Install CLI** action replaces `~/.local/bin/bds-cli` with a symbolic link to the packaged CLI, so the command executes beside the same runtime libraries and always follows the package selected by the latest installation.
Local macOS packages are ad-hoc signed without hardened runtime. A Developer ID and notarization remain optional release-channel steps for downloads that should pass Gatekeeper without a user override. Local macOS packages are ad-hoc signed without hardened runtime. A Developer ID and notarization remain optional release-channel steps for downloads that should pass Gatekeeper without a user override.

View File

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