Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions noir/.rebuild_patterns
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
^noir/Dockerfile
^noir/scripts/bootstrap_native.sh
^noir/scripts/test_native.sh
^noir/noir-repo/acvm-repo
Expand All @@ -14,7 +13,6 @@
^noir/noir-repo/tooling/nargo_fmt
^noir/noir-repo/tooling/noirc_abi
^noir/noir-repo/tooling/acvm_cli
^noir/Dockerfile.packages
^noir/scripts/bootstrap_packages.sh
^noir/scripts/test_js_packages.sh
^noir/noir-repo/.yarn
Expand Down
12 changes: 9 additions & 3 deletions noir/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,22 @@ function build_packages {
if cache_download noir-packages-$hash.tar.gz; then
cd noir-repo
npm_install_deps
# Hack to get around failure introduced by https://github.com/AztecProtocol/aztec-packages/pull/12371
# Tests fail with message "env: ‘mocha’: No such file or directory"
yarn install
return
fi

cd noir-repo
npm_install_deps
yarn workspaces foreach --parallel --topological-dev --verbose $js_include run build
# Hack to get around failure introduced by https://github.com/AztecProtocol/aztec-packages/pull/12371
# Tests fail with message "env: ‘mocha’: No such file or directory"
yarn install
yarn workspaces foreach -A --parallel --topological-dev --verbose $js_include run build

# We create a folder called packages, that contains each package as it would be published to npm, named correctly.
# These can be useful for testing, or to portal into other projects.
yarn workspaces foreach --parallel $js_include pack
yarn workspaces foreach -A --parallel $js_include pack

cd ..
rm -rf packages && mkdir -p packages
Expand Down Expand Up @@ -127,7 +133,7 @@ function test_cmds {
sed "s|$PWD/target/release/deps/||" | \
awk "{print \"$test_hash \" \$0 }"
echo "$test_hash cd noir/noir-repo && GIT_COMMIT=$GIT_COMMIT NARGO=$PWD/target/release/nargo" \
"yarn workspaces foreach --parallel --topological-dev --verbose $js_include run test"
"yarn workspaces foreach -A --parallel --topological-dev --verbose $js_include run test"
# This is a test as it runs over our test programs (format is usually considered a build step).
echo "$test_hash noir/bootstrap.sh format --check"
}
Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo-ref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2025-03-11
nightly-2025-03-18
Loading