Skip to content

Commit

Permalink
try setting image explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Wójcik committed Sep 14, 2023
1 parent 9839c91 commit caa1899
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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"
Expand Down

0 comments on commit caa1899

Please sign in to comment.