Skip to content

Commit

Permalink
Set PATH instead of using rustup run
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 26, 2022
1 parent b75b0eb commit 3b4fb69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
export CG_CLIF_ENABLE_VERIFIER=1
rustup run nightly-2022-03-25 bash -c 'env'
rustup run nightly-2022-03-25 bash ./test.sh
./test.sh
- name: Package prebuilt cg_clif
# don't use compression as xzip isn't supported by tar on windows and bzip2 hangs
Expand Down
1 change: 1 addition & 0 deletions scripts/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ set -e

export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH"
export PATH="$(rustc --print sysroot)/bin:$PATH"
ls $(rustc --print sysroot)/bin

0 comments on commit 3b4fb69

Please sign in to comment.