Use the ORT rc.11 library location variable.
All checks were successful
Tagged release / prepare-release (push) Successful in 3m3s
Tagged release / build-linux-x64 (push) Successful in 36m54s
Tagged release / build-macos (push) Successful in 57m53s
Tagged release / build-linux-arm64 (push) Successful in 34m37s
Tagged release / build-windows (push) Successful in 34m26s
Tagged release / publish-release (push) Successful in 3m0s

This commit is contained in:
Hermes Agent
2026-08-15 05:03:19 +00:00
parent d3bfc13e67
commit 58596c8de0
2 changed files with 6 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"cargo-zigbuild",
"macos-linker-alias",
"macos-x64-runtime",
"ORT_LIB_PATH",
"ORT_LIB_LOCATION",
"ORT_PREFER_DYNAMIC_LINK",
"-Lnative=target/macos-linker",
"-Wl,-rpath,@executable_path ",
@@ -167,6 +167,10 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
!workflow.contains("-Wl,-U,"),
"Zig's Darwin linker does not support ld64's symbol-specific -U option"
);
assert!(
!workflow.contains("ORT_LIB_PATH"),
"ORT rc.11 expects its custom runtime in ORT_LIB_LOCATION"
);
for forbidden in ["python", "curl ", "hdiutil", "makensis", "tar -"] {
assert!(
!workflow.contains(forbidden),