diff --git a/build_container.sh b/build_container.sh index 625cf7f..16e5153 100755 --- a/build_container.sh +++ b/build_container.sh @@ -22,7 +22,6 @@ DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y \ libglm-dev libstb-dev libc6-dev \ debhelper-compat libdbus-1-dev libglib2.0-dev meson ninja-build dbus \ libvirglrenderer1 libvirglrenderer-dev pipewire libpipewire-0.3-dev \ - lsof \ podman # `riscv64` specific dependencies @@ -78,6 +77,12 @@ if [ "$ARCH" != "riscv64" ]; then rustup target add $ARCH-unknown-linux-musl $ARCH-unknown-none fi +# The below are only used for compile-testing via cargo check. +# It suffices to do that on _one_ architecture. +if [ "$ARCH" == "x86_64" ]; then + rustup target add aarch64-apple-darwin x86_64-pc-windows-gnu +fi + cargo install cargo-llvm-cov # Install the codecov.io uploader. Not available on riscv64, so skip there