-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Sync from aztec-packages (#7241)
Co-authored-by: TomAFrench <[email protected]> Co-authored-by: Tom French <[email protected]>
- Loading branch information
1 parent
15bbaa8
commit a2a0478
Showing
43 changed files
with
385 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5e4b46d577ebf63114a5a5a1c5b6d2947d3b2567 | ||
a7f8d9670902dfa4856b8514ce5eb4ad031a44fc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
npx -y playwright@1.42 install --with-deps | ||
npx -y playwright@1.50 install --with-deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
yarn-lock: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -492,7 +492,7 @@ jobs: | |
uses: foundry-rs/[email protected] | ||
with: | ||
version: nightly-8660e5b941fe7f4d67e246cfd3dafea330fb53b1 | ||
|
||
|
||
- name: Install `bb` | ||
run: | | ||
|
@@ -530,10 +530,10 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build list of libraries | ||
id: get_critical_libraries | ||
run: | | ||
run: | | ||
LIBRARIES=$(grep -Po "^https://github.com/\K.+" ./CRITICAL_NOIR_LIBRARIES | jq -R -s -c 'split("\n") | map(select(. != "")) | map({ repo: ., path: ""})') | ||
echo "libraries=$LIBRARIES" | ||
echo "libraries=$LIBRARIES" >> $GITHUB_OUTPUT | ||
|
@@ -593,7 +593,7 @@ jobs: | |
# Github actions seems to not expand "**" in globs by default. | ||
shopt -s globstar | ||
sed -i '/^compiler_version/d' ./**/Nargo.toml | ||
- name: Run nargo test | ||
id: test_report | ||
working-directory: ./test-repo/${{ matrix.project.path }} | ||
|
@@ -631,6 +631,43 @@ jobs: | |
retention-days: 3 | ||
overwrite: true | ||
|
||
compile-noir-contracts: | ||
needs: [build-nargo] | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
name: Compile `noir-contracts` zero inliner aggressiveness | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: AztecProtocol/aztec-packages | ||
path: test-repo | ||
|
||
- name: Download nargo binary | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: nargo | ||
path: ./nargo | ||
|
||
- 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: Remove requirements on compiler version | ||
working-directory: ./test-repo | ||
run: | | ||
# Github actions seems to not expand "**" in globs by default. | ||
shopt -s globstar | ||
sed -i '/^compiler_version/d' ./**/Nargo.toml | ||
- name: Run nargo compile | ||
working-directory: ./test-repo/noir-projects/noir-contracts | ||
run: nargo compile --inliner-aggressiveness 0 | ||
|
||
upload_critical_library_report: | ||
name: Upload critical library report | ||
needs: [external-repo-checks] | ||
|
@@ -695,6 +732,7 @@ jobs: | |
- test-integration-node | ||
- test-integration-browser | ||
- test-examples | ||
- compile-noir-contracts | ||
|
||
steps: | ||
- name: Report overall success | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,5 @@ tooling/noir_js/lib | |
|
||
# docs autogen build | ||
/docs/docs/noir_js/reference/ | ||
|
||
codegen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a2a0478
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.20
.noir-lang_noir_check_shuffle_
1
s0
s+∞
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
a2a0478
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.20
.noir-lang_noir_check_shuffle_
1
s0
s+∞
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench