Skip to content

Commit

Permalink
chore: ensure that nargo binary is accessible in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 2, 2024
1 parent 9d69b4a commit 9141375
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test-js-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
yarn workspace @noir-lang/backend_barretenberg test
test-noir-js:
needs: [build-acvm-js, build-noirc-abi]
needs: [build-nargo, build-acvm-js, build-noirc-abi]
name: Noir JS
runs-on: ubuntu-latest
timeout-minutes: 30
Expand All @@ -256,6 +256,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Download nargo binary
uses: actions/download-artifact@v3
with:
name: nargo
path: ./nargo

- name: Download artifact
uses: actions/download-artifact@v3
with:
Expand All @@ -268,6 +274,14 @@ jobs:
name: noirc_abi_wasm
path: ./tooling/noirc_abi_wasm

- 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)"
nargo -V
- name: Install Yarn dependencies
uses: ./.github/actions/setup

Expand Down

0 comments on commit 9141375

Please sign in to comment.