-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: ci3 phase 1 #10042
Merged
chore: ci3 phase 1 #10042
Changes from 22 commits
Commits
Show all changes
353 commits
Select commit
Hold shift + click to select a range
4494a94
wip
charlielye ef201b0
wip
charlielye 248e650
chore: ci3 fixes (#10280)
ludamad 70729b0
wip
charlielye 72ce45b
acir test cache flag
charlielye f086f68
spelling
charlielye 9934732
fix
charlielye 6a1dec5
wip
charlielye 6435a79
wip
charlielye 57b5a1b
hack around nargo race condition on dep dload
charlielye 63a3b48
usage
charlielye a25868f
new bootstrap for noir-contracts - super parallel
charlielye 932ca47
script for proto circuits
charlielye 4fdb30f
clean
charlielye 40c1476
noir-projects performance. full run 2m30s, cached run 13s
charlielye 0d26129
formatting fixes
charlielye 6bc4270
wrong about times. 8m20s full. public_base_rollup is slow.
charlielye da2e82f
build sim circuits.
charlielye 856dda6
Always upload, if file doesn't already exist. noir-projects supports …
charlielye 089b6a4
oops
charlielye ca402d1
fix
charlielye 4d4f9d3
fix. skip avm test
charlielye ea10dc1
fix
charlielye 01550fb
normalise yp test commands as unit tests. add test:e2e and test:compo…
charlielye e96b052
bootstrap_source script
charlielye 08411f7
fix
charlielye e923114
fix
charlielye fe0dd9f
chore: ci2.5 => ci3 merge (#10349)
ludamad 4130088
flatting ci3 paths. boxes test webkit and chrome.
charlielye 0dd552c
bootstrap scripts handle cmds
charlielye c772122
fix
charlielye 04218c6
fix flag stdout. colors to source. local and casing.
charlielye 72084cc
tweaks. fixes. new ami. can grind e2e.
charlielye 174ca88
denoise grind fix
charlielye ca60f4b
bring back browser test
charlielye b2d278f
browser is still a flake. dial back logging and polling from insane, …
charlielye 6347c69
up_quick_start test cleanup
charlielye 42baf70
expand and simplify acir tests.
charlielye 9583e7b
denoiseable
charlielye 8844d2b
acir sol tests
charlielye a272066
Merge branch 'cl/ci3-fake-base' into cl/ci3
charlielye 596ee80
merge fix
charlielye 3506a20
enable pipefail. source colors. color headers.
charlielye aa88de4
better call pattern. color tweak
charlielye d34a92b
Merge branch 'cl/ci3-fake-base' into cl/ci3
charlielye 4dfeebb
fix
charlielye dae10e1
crs path fix in bb.js. tweaks to allow playing with omp again (nope).…
charlielye d06143d
fix
charlielye faca724
fix
charlielye bab9f70
fix compose log level. ec2-full cmd.
charlielye 23c80eb
fix
charlielye 249db48
fix noir-contracts function filter.
charlielye 342ce4d
attach to container in test.sh to catch error
charlielye 2d8e30a
reqres flakes.
charlielye 84bb694
crs stuff
charlielye 93fcdf2
instance name
charlielye cb5d0d9
yarn-project precommit hook
charlielye 1186c29
Merge branch 'cl/ci3-fake-base' into cl/ci3
charlielye c685aaf
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye 567b788
fix yarn.lock. color precommit
charlielye f65de36
precommit comment
charlielye 43600ca
fix
charlielye da9b0b3
node crs read requested amount
charlielye bef986b
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye 9d125f3
jest silent reporter. NO_SPOT var.
charlielye c811b79
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye 4f54ca9
Revert "feat: unified create circuit from acir (#10440)"
charlielye 8d76959
unbound fix
charlielye c6e6627
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye 9b806b0
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye d9c6bb1
Reapply "feat: unified create circuit from acir (#10440)"
charlielye 17a4350
ivc fix
charlielye 94bbcdb
better err handling with dump_fail
charlielye 0dea0a8
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye 30b4af4
fix merge ci.yml
charlielye 65d80fb
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye bb58eaa
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye d9c4a9b
keys are not base64 encoded, just hex. because of course.
charlielye 43a6482
reverse hex for fields
charlielye 21a110c
disable assertions in bb for now, as leads to avm failures. remove fl…
charlielye 42525c0
install xxd. terminate use iid.
charlielye 227cd2b
fix
charlielye 28a2c1e
fix
charlielye a219704
region fix.
charlielye 99537d7
tweak
charlielye 12defc6
wip
charlielye 71f8f7c
try tmpfs
charlielye 1bd9942
change hash
charlielye dfd33ab
change hash
charlielye 9cdbc3b
/tmp 1gb in-mem mount to spare disk io and start implementing limits
charlielye f3d3b77
cpp fast formatting in test. ability to run just e2e flakes with test…
charlielye 14ffa20
formatting
charlielye 7f67ffb
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye fd34615
limit noir-projects to 16 jobs for mem reasons. merge fix.
charlielye 581ce2a
Merge branch 'master' into cl/ci3
charlielye 73c56ba
Merge branch 'master' into cl/ci3
charlielye 6d31b79
revert test timings.
charlielye f795f7d
align acir tests with master
charlielye 5c61b25
clean
charlielye e3bb18f
Merge remote-tracking branch 'origin/master' into cl/ci3
charlielye dee6ba3
chore(ci): towards ci3 (#10751)
ludamad 7f226d5
earthly syntax fix
ludamad 25a3b59
Merge remote-tracking branch 'origin/master' into cl/ci3
ludamad 720b6a6
fix
ludamad b76cf31
robustness
ludamad d0beea3
more sane build-pic prep
ludamad 6493903
more sane build-pic prep
ludamad 074e1b1
fix
ludamad 58cfc23
fix
ludamad 438ab54
better startup script
ludamad 1564662
generate
ludamad 2174e1f
Yarn
ludamad 346c4f0
fix
ludamad d529df7
fix
ludamad 6146775
ensure-tester
ludamad 147de9c
files
ludamad 4d94837
files
ludamad 1a3ced8
S3_FORCE_UPLOAD
ludamad 072bb7c
ensure-builder fix
ludamad d740eaf
start
ludamad 0e70dfc
fix
ludamad 0499b10
gogo
ludamad 703d40a
fix
ludamad b51eb14
fix
ludamad 22d63f4
fix
ludamad df2921c
fix
ludamad 8f66e31
fix
ludamad 71d41e1
gogo gadget bash error
ludamad b2dd35e
lets go
ludamad e103d90
fixes
ludamad 33b8eac
input
ludamad 7891605
input
ludamad 865c086
update
ludamad 103ef47
update
ludamad e968ecc
update
ludamad 90e2298
update
ludamad f00bfbf
update
ludamad e3c745c
update
ludamad ec3f56c
run on tester lets go
ludamad 8443da6
try again
ludamad 5c5d5c5
update
ludamad 59c766c
Update
ludamad 6c09e24
fix
ludamad 730daea
Updates
ludamad 5cefc7d
less output
ludamad 10fb290
less output
ludamad 7c0077a
Update Earthfile
ludamad 91b2334
scripty stuff
ludamad d169786
Merge remote-tracking branch 'origin/cl/ci3-fixes' into cl/ci3-fixes
ludamad b51e91d
fix
ludamad 53be684
fix
ludamad d410ef8
Update ci-arm.yml
ludamad da1d8b2
fix
ludamad b71e455
Merge remote-tracking branch 'origin/cl/ci3-fixes' into cl/ci3-fixes
ludamad 2d5b985
the wrapped run command
ludamad 133a0e8
uploaded
ludamad 59d818e
uploaded
ludamad d66c9b8
update
ludamad 0f03299
fix
ludamad f7afbd2
fix acir bench syntax
ludamad 6aca3e1
dont acir bench on e2e
ludamad 6966eaf
less image time
ludamad 8ec8192
dont run flakey e2e
ludamad 0f37856
syntax
ludamad ddbfdc6
parallel fix
ludamad f9b469f
cpp full bootstrap deletes build dirs first.
charlielye 742df9c
fill out set -eu
ludamad d919399
bootstrap -set eu
ludamad 668f050
Make world state fail if no napi
ludamad 7d2f6f1
try repair build
ludamad 0350088
fix run_acir_tests.sh
ludamad e7d760b
Merge branch 'cl/ci3' into cl/ci3-fixes
ludamad b59fbce
update
ludamad a339fac
syntax fix
ludamad 774b5ec
fix bench summary
ludamad bb115d1
start kind full test sooner
ludamad 6a9455e
Merge remote-tracking branch 'origin/master' into cl/ci3-fixes
ludamad e2e2348
run network test with yarn test
ludamad ef89bf6
fast filter base images
ludamad 61ab917
Undo skip
ludamad 2a699bc
simplify yarn hash, add cache_ls helper
ludamad 73bc990
just upload napi
ludamad 5d706eb
ensure world state is uploaded
ludamad 0088ee5
Fix kludge
ludamad f3760ad
state
ludamad 0860dc3
Fix job name
ludamad d02cd1a
Fix cache delete
ludamad e4ba0d7
try again
ludamad feb51e5
now make it pass the cache hoop
ludamad 8404fd3
lets go
ludamad 4d55dc3
fix install parallel
ludamad 7bd8163
update
ludamad 575c29d
less restrictive ci.sh
ludamad 7191a06
for build
ludamad 14d37a1
fix ci.sh
ludamad a407edb
try downsizing testers
ludamad c6074a6
try e2e with standard github runner
ludamad 6c578d9
try again
ludamad 9dcb979
denoise
ludamad 02eb782
update
ludamad a1542e7
try no exit spot
ludamad 10aac00
retries
ludamad c019c77
retries
ludamad e4e58cf
fix
ludamad e8f7c30
fix
ludamad cc5f4c8
attach ebs
ludamad 92bf320
update
ludamad a7b6263
resinstate maybe exit spot
ludamad 9c81525
fix yarn project cache
ludamad cd1b7d7
bootstrap
ludamad b9b1f7e
update
ludamad 8689755
cache fix
ludamad 00e3953
install kludge
ludamad f843d06
fix
ludamad 02c6a09
remove redundant 4epochs test
ludamad 68f6ab6
simplify
ludamad 01c43be
fix
ludamad 4a4a14e
simplify more
ludamad d02477a
lets go
ludamad 9839c73
simpler transfer tests
ludamad 1e6d826
pare down network tests
ludamad 8e469c6
less earthly nag
ludamad 7bd8e81
Update
ludamad 0782b44
hash
ludamad ed0085a
try it out
ludamad c63df90
more conditionality
ludamad c168db6
edge ci
ludamad 686a46c
refactor vm tests
ludamad 981aa4a
Docs selection of ci
ludamad 45f2435
dont make GH runner token mandatory
ludamad 3f50921
simplify workflows
ludamad 4c8f79b
Merge remote-tracking branch 'origin/master' into cl/ci3-fixes
ludamad d99e789
-
ludamad 0a23c38
update prover client fix
ludamad b5945d4
simplify docs
ludamad 52ed4ea
quieter network
ludamad ef785f9
fix nargo
ludamad b91a45f
bring back earthly retries
ludamad d583d8f
sufferage
ludamad 8608c1c
lets try again
ludamad d2a0e8a
flakefest
ludamad 4a1d21d
use ref name for arm concurrency
ludamad 0a5055a
lets try it again
ludamad 1b96ea3
woopsy
ludamad 835730a
arm fixes
ludamad c9461ef
changes
ludamad 9462caa
fix
ludamad 11f57f3
fix bench e2e
ludamad 0832045
Merge remote-tracking branch 'origin/master' into cl/ci3
ludamad a2b56b6
Update ci.yml
ludamad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CI3 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: runner-01 | ||
container: | ||
image: aztecprotocol/build:1.0 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run bootstrap script | ||
run: | | ||
git config --global --add safe.directory /__w/aztec-packages/aztec-packages | ||
CI=1 ./bootstrap.sh full |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
|
||
cleanup() { | ||
BG_PIDS=$(jobs -p) | ||
if [[ -n "$BG_PIDS" ]]; then | ||
kill $BG_PIDS 2>/dev/null | ||
wait $BG_PIDS 2>/dev/null | ||
fi | ||
} | ||
trap cleanup EXIT | ||
|
||
if [ "${CI:-0}" -eq 1 ]; then | ||
npx -y [email protected] install --with-deps | ||
fi | ||
|
||
(cd headless-test && yarn) | ||
(cd browser-test-app && yarn && yarn build) | ||
|
||
if [ "${CI:-0}" -eq 1 ]; then | ||
COMPILE=1 ./run_acir_tests.sh | ||
|
||
# Run UltraHonk recursive verification through bb.js on chrome testing multi-threaded browser support. | ||
BROWSER=chrome THREAD_MODEL=mt ./run_acir_tests_browser.sh verify_honk_proof & | ||
# Run UltraHonk recursive verification through bb.js on chrome testing single-threaded browser support. | ||
BROWSER=chrome THREAD_MODEL=st ./run_acir_tests_browser.sh verify_honk_proof & | ||
# Run ecdsa_secp256r1_3x through bb.js on node to check 256k support. | ||
BIN=../ts/dest/node/main.js FLOW=prove_then_verify ./run_acir_tests.sh ecdsa_secp256r1_3x & | ||
# Run a single arbitrary test not involving recursion through bb.js for UltraHonk | ||
BIN=../ts/dest/node/main.js FLOW=prove_and_verify_ultra_honk ./run_acir_tests.sh 6_array assert_statement & | ||
# Run the prove then verify flow for UltraHonk. This makes sure we have the same circuit for different witness inputs. | ||
BIN=../ts/dest/node/main.js FLOW=prove_then_verify_ultra_honk ./run_acir_tests.sh 6_array assert_statement & | ||
# Run a single arbitrary test not involving recursion through bb.js for MegaHonk | ||
BIN=../ts/dest/node/main.js FLOW=prove_and_verify_mega_honk ./run_acir_tests.sh 6_array & | ||
# Run fold_basic test through bb.js which runs ClientIVC on fold basic | ||
BIN=../ts/dest/node/main.js FLOW=fold_and_verify_program ./run_acir_tests.sh fold_basic & | ||
# Run 1_mul through bb.js build, all_cmds flow, to test all cli args. | ||
BIN=../ts/dest/node/main.js FLOW=all_cmds ./run_acir_tests.sh 1_mul & | ||
|
||
wait | ||
fi |
7,591 changes: 4,618 additions & 2,973 deletions
7,591
barretenberg/acir_tests/browser-test-app/yarn.lock
Large diffs are not rendered by default.
Oops, something went wrong.
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
main => master :)