Support Intel macOS with the last upstream runtime.
Some checks failed
Tagged release / prepare-release (push) Successful in 3m0s
Tagged release / build-linux-x64 (push) Successful in 35m32s
Tagged release / build-macos (push) Failing after 38m56s
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 03:42:22 +00:00
parent 0c32f9fdee
commit d3bfc13e67
8 changed files with 264 additions and 70 deletions

View File

@@ -46,6 +46,7 @@ fn desktop_packages_have_native_icons_and_cargo_commands() {
}
assert!(cargo_config.contains("prefer-dynamic"));
assert!(cargo_config.contains("-mmacosx-version-min=26.0"));
assert!(cargo_config.contains("link-arg=-Wl,-rpath,@executable_path\","));
assert!(cargo_config.contains("@executable_path/../Resources"));
assert!(cargo_config.contains("$ORIGIN:$ORIGIN/../lib/bds-ui"));
@@ -129,7 +130,11 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"runs-on: linux-arm64",
"cargo-zigbuild",
"macos-linker-alias",
"macos-x64-runtime",
"ORT_LIB_PATH",
"ORT_PREFER_DYNAMIC_LINK",
"-Lnative=target/macos-linker",
"-Wl,-rpath,@executable_path ",
"-Wl,-undefined,dynamic_lookup",
"aarch64-apple-darwin",
"x86_64-apple-darwin",