@@ -183,7 +183,7 @@ jobs:
183183 with :
184184 name : acvm-js
185185 path : ./acvm-repo/acvm_js
186-
186+
187187 - name : Set up test environment
188188 uses : ./.github/actions/setup
189189
@@ -230,13 +230,13 @@ jobs:
230230 steps :
231231 - name : Checkout
232232 uses : actions/checkout@v4
233-
233+
234234 - name : Download nargo binary
235235 uses : actions/download-artifact@v4
236236 with :
237237 name : nargo
238238 path : ./nargo
239-
239+
240240 - name : Download artifact
241241 uses : actions/download-artifact@v4
242242 with :
@@ -248,7 +248,7 @@ jobs:
248248 with :
249249 name : noirc_abi_wasm
250250 path : ./tooling/noirc_abi_wasm
251-
251+
252252 - name : Set nargo on PATH
253253 run : |
254254 nargo_binary="${{ github.workspace }}/nargo/nargo"
@@ -336,13 +336,13 @@ jobs:
336336 with :
337337 name : acvm-js
338338 path : ./acvm-repo/acvm_js
339-
339+
340340 - name : Download noirc_abi package artifact
341341 uses : actions/download-artifact@v4
342342 with :
343343 name : noirc_abi_wasm
344344 path : ./tooling/noirc_abi_wasm
345-
345+
346346 - name : Set nargo on PATH
347347 run : |
348348 nargo_binary="${{ github.workspace }}/nargo/nargo"
@@ -468,7 +468,7 @@ jobs:
468468 working-directory : ./compiler/integration-tests
469469 run : |
470470 yarn test:browser
471-
471+
472472 test-examples :
473473 name : Example scripts
474474 runs-on : ubuntu-latest
@@ -509,6 +509,59 @@ jobs:
509509 working-directory : ./examples/codegen_verifier
510510 run : ./test.sh
511511
512+ external-repo-checks :
513+ needs : [build-nargo]
514+ runs-on : ubuntu-latest
515+ # Only run when 'run-external-checks' label is present
516+ if : contains(github.event.pull_request.labels.*.name, 'run-external-checks')
517+ timeout-minutes : 30
518+ strategy :
519+ fail-fast : false
520+ matrix :
521+ project :
522+ # Disabled as these are currently failing with many visibility errors
523+ # - { repo: AztecProtocol/aztec-nr, path: ./ }
524+ # - { repo: AztecProtocol/aztec-packages, path: ./noir-projects/noir-contracts }
525+ # Disabled as aztec-packages requires a setup-step in order to generate a `Nargo.toml`
526+ # - { repo: AztecProtocol/aztec-packages, path: ./noir-projects/noir-protocol-circuits }
527+ - { repo: zac-williamson/noir-edwards, path: ./, ref: 037e44b2ee8557c51f6aef9bb9d63ea9e32722d1 }
528+ # TODO: Enable these once they're passing against master again.
529+ # - { repo: zac-williamson/noir-bignum, path: ./, ref: 030c2acce1e6b97c44a3bbbf3429ed96f20d72d3 }
530+ # - { repo: vlayer-xyz/monorepo, path: ./, ref: ee46af88c025863872234eb05d890e1e447907cb }
531+ # - { repo: hashcloak/noir-bigint, path: ./, ref: 940ddba3a5201b508e7b37a2ef643551afcf5ed8 }
532+ name : Check external repo - ${{ matrix.project.repo }}
533+ steps :
534+ - name : Checkout
535+ uses : actions/checkout@v4
536+ with :
537+ repository : ${{ matrix.project.repo }}
538+ path : test-repo
539+ ref : ${{ matrix.project.ref }}
540+
541+ - name : Download nargo binary
542+ uses : actions/download-artifact@v4
543+ with :
544+ name : nargo
545+ path : ./nargo
546+
547+ - name : Set nargo on PATH
548+ run : |
549+ nargo_binary="${{ github.workspace }}/nargo/nargo"
550+ chmod +x $nargo_binary
551+ echo "$(dirname $nargo_binary)" >> $GITHUB_PATH
552+ export PATH="$PATH:$(dirname $nargo_binary)"
553+ nargo -V
554+
555+ - name : Remove requirements on compiler version
556+ working-directory : ./test-repo
557+ run : |
558+ # Github actions seems to not expand "**" in globs by default.
559+ shopt -s globstar
560+ sed -i '/^compiler_version/d' ./**/Nargo.toml
561+ - name : Run nargo check
562+ working-directory : ./test-repo/${{ matrix.project.path }}
563+ run : nargo check
564+
512565 # This is a job which depends on all test jobs and reports the overall status.
513566 # This allows us to add/remove test jobs without having to update the required workflows.
514567 tests-end :
@@ -526,7 +579,7 @@ jobs:
526579 - test-integration-node
527580 - test-integration-browser
528581 - test-examples
529-
582+
530583 steps :
531584 - name : Report overall success
532585 run : |
0 commit comments