Refresh native apt indexes before cross-build setup.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m55s
Tagged release / build-linux-x64 (push) Failing after 39s
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:
Hermes Agent
2026-08-14 14:27:25 +00:00
parent 0e697750e7
commit dfba7efdac
2 changed files with 8 additions and 0 deletions

View File

@@ -214,6 +214,13 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
let native_python = linux_dependencies
.find("install_packages python3 python3-typing-extensions")
.expect("native Python dependency setup");
let native_source_filter = linux_dependencies
.find("'/^Architectures:/d; /^Types: deb$/a Architectures: arm64'")
.expect("native apt architecture filter");
assert!(
linux_dependencies[native_source_filter..native_python].contains("sudo apt-get update"),
"native apt indexes must be refreshed after constraining the source architecture"
);
assert!(
native_python < multiarch,
"native Python dependencies must be fixed before enabling multiarch"