Skip to content

Commit

Permalink
chore: update path to nargo binary
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Oct 24, 2023
1 parent 6fc3960 commit ed9b823
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gates_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:

- name: Set nargo on PATH
run: |
nargo_binary="${{ github.workspace }}/nargo/nargo"
chmod +x $nargo_binary
echo "$(dirname $nargo_binary)" >> $GITHUB_PATH
export PATH="$PATH:$(dirname $nargo_binary)"
chmod +x ./nargo/nargo
echo "./nargo" >> $GITHUB_PATH
export PATH="$PATH:./nargo"
nargo -V
- name: Generate gates report
working-directory: ./tooling/nargo_cli/tests
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ jobs:

- name: Set nargo on PATH
run: |
nargo_binary="${{ github.workspace }}/nargo/nargo"
chmod +x $nargo_binary
echo "$(dirname $nargo_binary)" >> $GITHUB_PATH
export PATH="$PATH:$(dirname $nargo_binary)"
chmod +x ./nargo/nargo
echo "./nargo" >> $GITHUB_PATH
export PATH="$PATH:./nargo"
nargo -V
- name: Install Yarn dependencies
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test-noir_wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,19 @@ jobs:
name: nargo
path: ./nargo

- name: Set nargo on PATH
run: |
chmod +x ./nargo/nargo
echo "./nargo" >> $GITHUB_PATH
export PATH="$PATH:./nargo"
nargo -V
- name: Compile fixtures with Nargo CLI
working-directory: ./compiler/wasm/fixtures
run: |
nargo_binary=${{ github.workspace }}/nargo/nargo
chmod +x $nargo_binary
for dir in $(ls -d */); do
pushd $dir/noir-script
$nargo_binary compile
nargo compile
popd
done
Expand Down

0 comments on commit ed9b823

Please sign in to comment.