1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

use remap-path-prefix in circleci for release builds

This commit is contained in:
dark64 2021-08-19 15:58:44 +02:00
parent a31f1cd13b
commit bc54c1d454
2 changed files with 2 additions and 1 deletions

View file

@ -168,7 +168,7 @@ jobs:
- run:
name: Build
no_output_timeout: "30m"
command: << parameters.build-with >> build --target << parameters.target >> --release
command: RUSTFLAGS="--remap-path-prefix=$PWD=" << parameters.build-with >> build --target << parameters.target >> --release
- tar_artifacts:
target: << parameters.target >>
publish_artifacts:

View file

@ -2,6 +2,7 @@
# Exit if any subcommand fails
set -e
export RUSTFLAGS="--remap-path-prefix=$PWD="
if [ -n "$WITH_LIBSNARK" ]; then
cargo build --release --package zokrates_cli --features="libsnark"