diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 00000000000..2eb1c0d2a7c --- /dev/null +++ b/Cross.toml @@ -0,0 +1,7 @@ +[build] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt update && apt install -y unzip zlib1g-dev:$CROSS_DEB_ARCH", + "curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip && unzip protoc-3.15.8-linux-x86_64.zip -d /usr/", + "chmod a+x /usr/bin/protoc && chmod -R a+rx /usr/include/google", +]