Include architecture-neutral metadata in the x64 sysroot.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m57s
Tagged release / build-linux-x64 (push) Failing after 28m54s
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 2m57s
Tagged release / build-linux-x64 (push) Failing after 28m54s
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:
@@ -79,6 +79,13 @@ case "$target" in
|
||||
for package in "$archives"/*.deb; do
|
||||
sudo dpkg-deb --extract "$package" "$sysroot"
|
||||
done
|
||||
|
||||
# Architecture-independent development packages may already be
|
||||
# installed on the host, so apt does not download them again. Their
|
||||
# pkg-config files contain no host binaries and are safe to reuse with
|
||||
# PKG_CONFIG_SYSROOT_DIR, which redirects every path into this sysroot.
|
||||
sudo mkdir -p "$sysroot/usr/share/pkgconfig"
|
||||
sudo cp -a /usr/share/pkgconfig/. "$sysroot/usr/share/pkgconfig/"
|
||||
;;
|
||||
*)
|
||||
echo "unsupported Linux build target: $target" >&2
|
||||
|
||||
@@ -195,6 +195,7 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
|
||||
"Architectures: arm64",
|
||||
"--download-only",
|
||||
"dpkg-deb --extract",
|
||||
"/usr/share/pkgconfig/.",
|
||||
"/opt/ruds-x64-sysroot",
|
||||
] {
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user