From e0d31672bf81c2ad19a32d121f44e2b68a47bda3 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Sun, 7 Aug 2022 23:35:13 +0200 Subject: [PATCH] ci: add env vars for ring cross compilation --- ci/tasks/build-release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/tasks/build-release.sh b/ci/tasks/build-release.sh index 868475bda..bbb8e9455 100755 --- a/ci/tasks/build-release.sh +++ b/ci/tasks/build-release.sh @@ -15,6 +15,9 @@ WORKSPACE="$(pwd)" export CARGO_HOME="$(pwd)/cargo-home" export CARGO_TARGET_DIR="$(pwd)/cargo-target-dir" +export TARGET_CC=/workspace/osxcross/target/bin/x86_64h-apple-darwin21.4-cc +export TARGET_AR=/workspace/osxcross/target/bin/x86_64h-apple-darwin21.4-ar + [ -f /workspace/.cargo/config ] && cp /workspace/.cargo/config ${CARGO_HOME}/config pushd ${REPO}