From caa1899731b0fcf821d0d1d6fa9712d72e36c939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20W=C3=B3jcik?= Date: Thu, 14 Sep 2023 09:56:35 +0200 Subject: [PATCH] try setting image explicitly --- Cross.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cross.toml b/Cross.toml index 7fda8eed8..4daa10a5b 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,4 +1,5 @@ [target.x86_64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:latest" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get install --assume-yes unzip pkg-config openssl:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH", @@ -8,6 +9,7 @@ pre-build = [ ] [target.armv7-unknown-linux-gnueabihf] +image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:latest" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get install --assume-yes unzip pkg-config openssl:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH", @@ -17,6 +19,7 @@ pre-build = [ ] [target.aarch64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:latest" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get install --assume-yes unzip pkg-config openssl:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH", @@ -26,9 +29,9 @@ pre-build = [ ] [target.x86_64-unknown-freebsd] +image = "ghcr.io/cross-rs/x86_64-unknown-freebsd:latest" pre-build = [ - "dpkg --add-architecture $CROSS_DEB_ARCH", - "apt-get update && apt-get install --assume-yes unzip pkg-config openssl:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes unzip pkg-config openssl libssl-dev", "PB_REL='https://github.com/protocolbuffers/protobuf/releases'", "PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip", "unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"