Bundle native inference runtimes in releases.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m53s
Tagged release / build-linux-x64 (push) Failing after 6s
Tagged release / build-macos (push) Has been skipped
Tagged release / build-linux-arm64 (push) Has been skipped
Tagged release / build-windows (push) Has been skipped
Tagged release / publish-release (push) Has been skipped
Some checks failed
Tagged release / prepare-release (push) Successful in 2m53s
Tagged release / build-linux-x64 (push) Failing after 6s
Tagged release / build-macos (push) Has been skipped
Tagged release / build-linux-arm64 (push) Has been skipped
Tagged release / build-windows (push) Has been skipped
Tagged release / publish-release (push) Has been skipped
This commit is contained in:
@@ -60,6 +60,7 @@ fn desktop_packages_have_native_icons_and_cargo_commands() {
|
||||
assert!(workspace_manifest.contains("Georg Bauer <gb@rfc1437.de>"));
|
||||
assert!(workspace_manifest.contains("strip = \"symbols\""));
|
||||
assert!(workspace_manifest.contains("ort-download-binaries-rustls-tls"));
|
||||
assert!(workspace_manifest.contains("\"copy-dylibs\""));
|
||||
assert!(workspace_manifest.contains("\"sync-secret-service\", \"vendored\""));
|
||||
assert!(
|
||||
workspace_manifest
|
||||
@@ -134,6 +135,10 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
|
||||
"aarch64-unknown-linux-gnu",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"cargo-xwin",
|
||||
"windows-runtime",
|
||||
"cargo +${RUST_TOOLCHAIN} xwin cache xwin",
|
||||
"/root/.cache/cargo-xwin/xwin/sdk/lib/um/x86_64",
|
||||
"-Lnative=target/x86_64-pc-windows-msvc/release",
|
||||
"apt-get install --no-install-recommends --yes nasm",
|
||||
"x86_64-pc-windows-msvc",
|
||||
"bds-release",
|
||||
@@ -155,6 +160,10 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
|
||||
"release workflow must not use host tool {forbidden}"
|
||||
);
|
||||
}
|
||||
assert!(
|
||||
!workflow.contains("target-feature=+crt-static"),
|
||||
"Windows and downloaded ONNX Runtime must use the same dynamic CRT"
|
||||
);
|
||||
assert!(
|
||||
!workflow.contains("run --release --locked --package bds-release"),
|
||||
"the release helper itself must stay unoptimized so cold runner jobs remain practical"
|
||||
@@ -166,6 +175,13 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
|
||||
4,
|
||||
"every release job using the Ubuntu runner image must bootstrap Rust"
|
||||
);
|
||||
assert_eq!(
|
||||
workflow
|
||||
.matches("needs: [prepare-release, build-linux-x64]")
|
||||
.count(),
|
||||
3,
|
||||
"the expensive platform builds must wait for the Linux x64 cross-build smoke test"
|
||||
);
|
||||
|
||||
let linux_dependencies =
|
||||
fs::read_to_string(workspace.join(".gitea/scripts/install-linux-build-dependencies.sh"))
|
||||
|
||||
Reference in New Issue
Block a user