Skip to content

Commit

Permalink
ci: add env vars for ring cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Aug 7, 2022
1 parent 435ebc5 commit e0d3167
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/tasks/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e0d3167

Please sign in to comment.