Skip to content
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

feat: docker testing flow #3895

Merged
merged 189 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from 180 commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
e133e77
test
sklppy88 Dec 12, 2023
9e9670b
test
sklppy88 Dec 12, 2023
24f3749
fix
sklppy88 Dec 12, 2023
14502fe
test
sklppy88 Dec 12, 2023
18ea4ef
test
sklppy88 Dec 12, 2023
b98fd25
asfd
sklppy88 Dec 12, 2023
7b2d905
test
sklppy88 Dec 12, 2023
a3f6e00
tes
sklppy88 Dec 12, 2023
efc3c4c
asdf
sklppy88 Dec 12, 2023
4a528d2
adsf
sklppy88 Dec 12, 2023
514ed11
asdf
sklppy88 Dec 12, 2023
e70c11b
asdf
sklppy88 Dec 12, 2023
c507c74
cache
sklppy88 Dec 13, 2023
a25230b
fix
sklppy88 Dec 13, 2023
881fd4e
asdf
sklppy88 Dec 13, 2023
3587635
asdf
sklppy88 Dec 13, 2023
c390826
working
sklppy88 Dec 13, 2023
8e38c1d
test
sklppy88 Dec 13, 2023
d19d46d
test
sklppy88 Dec 13, 2023
97bb429
test
sklppy88 Dec 13, 2023
b1d5c4a
asdf
sklppy88 Dec 13, 2023
3b1f224
test
sklppy88 Dec 13, 2023
e48d8f1
asdf
sklppy88 Dec 13, 2023
3b6fe92
asdf
sklppy88 Dec 13, 2023
622f5ae
test
sklppy88 Dec 13, 2023
071245b
asdf
sklppy88 Dec 13, 2023
d87b7aa
asdf
sklppy88 Dec 13, 2023
7105619
test
sklppy88 Dec 13, 2023
0cbf984
bump
sklppy88 Dec 13, 2023
0377221
test
sklppy88 Dec 13, 2023
fa5d9ec
asdf
sklppy88 Dec 13, 2023
72cf3b7
test
sklppy88 Dec 13, 2023
380021a
asdf
sklppy88 Dec 13, 2023
81e494b
asdf
sklppy88 Dec 13, 2023
94d99a8
test
sklppy88 Dec 13, 2023
5a91b5e
test
sklppy88 Dec 13, 2023
01293d0
bump
sklppy88 Dec 14, 2023
927a600
bump
sklppy88 Dec 14, 2023
e544971
asdf
sklppy88 Dec 14, 2023
cbeeba3
test
sklppy88 Dec 14, 2023
fb69fbf
asdf
sklppy88 Dec 14, 2023
4d36d20
asdf
sklppy88 Dec 14, 2023
e691448
sadf
sklppy88 Dec 14, 2023
444d928
Revert "sadf"
sklppy88 Dec 14, 2023
dd7226f
asf
sklppy88 Dec 14, 2023
0f816d7
build
sklppy88 Dec 14, 2023
5ef9e72
asdf
sklppy88 Dec 14, 2023
6e118ba
asdf
sklppy88 Dec 14, 2023
c38841f
test
sklppy88 Dec 14, 2023
32ac784
t
sklppy88 Dec 15, 2023
256265c
Merge branch 'cache-docker-artifacts' of github.com:noir-lang/noir in…
sklppy88 Dec 15, 2023
ac34f67
test
sklppy88 Dec 15, 2023
6e4f1d8
asdf
sklppy88 Dec 15, 2023
d6331ce
test
sklppy88 Dec 15, 2023
5de0d46
adsf
sklppy88 Dec 15, 2023
9956791
test
sklppy88 Dec 15, 2023
6d58b63
asdf
sklppy88 Dec 15, 2023
7314db2
asdf
sklppy88 Dec 15, 2023
741b262
asdf
sklppy88 Dec 15, 2023
3b16653
asdf
sklppy88 Dec 15, 2023
eca4304
test
sklppy88 Dec 15, 2023
788efbf
asdf
sklppy88 Dec 15, 2023
3012611
asdf
sklppy88 Dec 15, 2023
2fc9528
asdf
sklppy88 Dec 15, 2023
722080e
test
sklppy88 Dec 15, 2023
9e47d1f
asdf
sklppy88 Dec 15, 2023
578a161
teest
sklppy88 Dec 15, 2023
ef2e697
asdf
sklppy88 Dec 15, 2023
05abfab
asdf
sklppy88 Dec 15, 2023
8bf318c
asdf
sklppy88 Dec 15, 2023
e087f17
asdf
sklppy88 Dec 15, 2023
16a81bd
sadf
sklppy88 Dec 15, 2023
f274683
asdf
sklppy88 Dec 15, 2023
296e094
asdf
sklppy88 Dec 16, 2023
e4c5cd8
asdf
sklppy88 Dec 16, 2023
378bc1a
asdf
sklppy88 Dec 16, 2023
f90bd1a
asdf
sklppy88 Dec 16, 2023
c88dfd7
add yarn
sklppy88 Dec 18, 2023
28ff43b
d
sklppy88 Dec 18, 2023
e28f4d0
asdf
sklppy88 Dec 18, 2023
bb953a2
asdf
sklppy88 Dec 18, 2023
1651245
asdf
sklppy88 Dec 18, 2023
aa0c175
asdf
sklppy88 Dec 18, 2023
bd9549d
asdf
sklppy88 Dec 18, 2023
b2333fb
asdf
sklppy88 Dec 18, 2023
9d760c1
test
sklppy88 Dec 18, 2023
c91edc1
add
sklppy88 Dec 18, 2023
7625503
asdf
sklppy88 Dec 18, 2023
773f300
adsf
sklppy88 Dec 18, 2023
eaf6d80
asdf
sklppy88 Dec 18, 2023
ecd0e60
asdf
sklppy88 Dec 18, 2023
6a33193
asdf
sklppy88 Dec 19, 2023
b42c897
asdf
sklppy88 Dec 19, 2023
925497e
asdf
sklppy88 Dec 19, 2023
7deac13
asdf
sklppy88 Dec 19, 2023
e46f312
asdfasdf
sklppy88 Dec 19, 2023
c4476da
asdf
sklppy88 Dec 19, 2023
d7eb2b7
asdf
sklppy88 Dec 19, 2023
2edda4a
asdf
sklppy88 Dec 19, 2023
6ce3af0
test
sklppy88 Dec 19, 2023
3c65b74
fixed
sklppy88 Dec 19, 2023
518682b
asdf
sklppy88 Dec 19, 2023
f1a0d5b
asdf
sklppy88 Dec 19, 2023
505ebb6
sadf
sklppy88 Dec 19, 2023
68101b4
asdf
sklppy88 Dec 19, 2023
580b092
asdf
sklppy88 Dec 19, 2023
9ec4a30
asdf
sklppy88 Dec 19, 2023
b0f5736
asdf
sklppy88 Dec 19, 2023
cf89645
asdf
sklppy88 Dec 19, 2023
d342920
sfd
sklppy88 Dec 19, 2023
e45d959
asdf
sklppy88 Dec 19, 2023
70cb5e7
asdf
sklppy88 Dec 19, 2023
04a25e7
asdf
sklppy88 Dec 19, 2023
0aef707
asdf
sklppy88 Dec 19, 2023
871c40f
asdf
sklppy88 Dec 19, 2023
4f48758
asdf
sklppy88 Dec 19, 2023
ed3b170
asdf
sklppy88 Dec 19, 2023
93c70c1
almost
sklppy88 Dec 19, 2023
6c3f4ff
noirjs
sklppy88 Dec 19, 2023
2aa029b
asdf
sklppy88 Dec 19, 2023
adb1bbc
asdf
sklppy88 Dec 19, 2023
2b9b710
asdf
sklppy88 Dec 19, 2023
4d1caf3
asdf
sklppy88 Dec 20, 2023
930f4e2
test
sklppy88 Dec 20, 2023
f090f9b
asdf
sklppy88 Dec 20, 2023
ed1914f
asdf
sklppy88 Dec 20, 2023
d379e46
asdf
sklppy88 Dec 20, 2023
f54e743
asdf
sklppy88 Dec 20, 2023
a5837bc
asdf
sklppy88 Dec 20, 2023
26083ab
asdf
sklppy88 Dec 20, 2023
35ec08e
asdf
sklppy88 Dec 20, 2023
7064de8
asdf
sklppy88 Dec 20, 2023
37af9e7
asdf
sklppy88 Dec 20, 2023
9f103a5
asdf
sklppy88 Dec 20, 2023
ce5cead
asdf
sklppy88 Dec 20, 2023
05f6230
asdf
sklppy88 Dec 20, 2023
6d6c609
asdf
sklppy88 Dec 20, 2023
815ee3d
asdf
sklppy88 Dec 20, 2023
520b4b2
asdf
sklppy88 Dec 20, 2023
bc9f4b6
asdf
sklppy88 Dec 20, 2023
56778ea
Merge branch 'master' into cache-docker-artifacts
sklppy88 Dec 20, 2023
39c3eee
asdf
sklppy88 Dec 20, 2023
de32434
remove source resolver
sklppy88 Dec 20, 2023
8736d7c
Remove feature flag
sklppy88 Dec 20, 2023
ac420d6
asdf
sklppy88 Dec 20, 2023
18a6945
asdf
sklppy88 Dec 20, 2023
7497850
asdf
sklppy88 Dec 20, 2023
52edcac
fix
sklppy88 Dec 20, 2023
46cf4ac
test
sklppy88 Dec 25, 2023
c0a965e
asdf
sklppy88 Dec 25, 2023
710e0a3
asdf
sklppy88 Dec 25, 2023
585de8f
asdf
sklppy88 Dec 25, 2023
47c444c
asdf
sklppy88 Dec 25, 2023
86d852e
asdf
sklppy88 Dec 25, 2023
d09734a
Revert "asdf"
sklppy88 Dec 25, 2023
d697920
asdf
sklppy88 Dec 25, 2023
ceb6f46
asdf
sklppy88 Dec 25, 2023
6bbbbfb
asdf
sklppy88 Dec 25, 2023
eb2c1d6
sadfas
sklppy88 Dec 25, 2023
558aecf
asdf
sklppy88 Dec 25, 2023
b8d0819
Revert "asdf"
sklppy88 Dec 25, 2023
1fccdac
asdf
sklppy88 Dec 25, 2023
26ce4f6
asdf
sklppy88 Dec 25, 2023
9a40584
aasdf
sklppy88 Dec 25, 2023
87a66d9
asdf
sklppy88 Dec 25, 2023
1c62e8a
asdf
sklppy88 Dec 25, 2023
3b92133
asdfasdf
sklppy88 Dec 25, 2023
4118997
asdf
sklppy88 Dec 25, 2023
48222c8
asdf
sklppy88 Dec 25, 2023
410fe28
Merge branch 'master' into cache-docker-artifacts
sklppy88 Jan 2, 2024
200c28f
clean
sklppy88 Jan 2, 2024
b7784ef
asdf
sklppy88 Jan 2, 2024
f223842
asdf
sklppy88 Jan 2, 2024
ba8ea22
test
sklppy88 Jan 2, 2024
12ace08
tet
sklppy88 Jan 2, 2024
838c619
bump
sklppy88 Jan 2, 2024
c8e5852
asdf
sklppy88 Jan 2, 2024
1f7b988
fix
sklppy88 Jan 3, 2024
f990c73
Merge branch 'master' into cache-docker-artifacts
sklppy88 Jan 3, 2024
9fe2d79
asdf
sklppy88 Jan 3, 2024
c77df3c
test move
sklppy88 Jan 4, 2024
e0c7f7f
test
sklppy88 Jan 9, 2024
581081d
hello
sklppy88 Jan 9, 2024
e1d18d6
Merge branch 'master' into cache-docker-artifacts
sklppy88 Jan 9, 2024
f9dea6f
test
sklppy88 Jan 9, 2024
5b8da62
asdf
sklppy88 Jan 9, 2024
e938465
add master
sklppy88 Jan 10, 2024
88832b7
Merge branch 'master' into cache-docker-artifacts
sklppy88 Jan 10, 2024
a6645e5
Merge branch 'master' into cache-docker-artifacts
sklppy88 Jan 10, 2024
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
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Dockerfile*
.dockerignore

# Yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

packages
**/package.tgz
**/target
Expand Down
6 changes: 6 additions & 0 deletions .github/scripts/acvm_js-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

cd /usr/src/noir
.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/acvm_js build
6 changes: 6 additions & 0 deletions .github/scripts/acvm_js-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

cd /usr/src/noir
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/acvm_js test:browser
5 changes: 5 additions & 0 deletions .github/scripts/acvm_js-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/acvm_js test
5 changes: 5 additions & 0 deletions .github/scripts/backend-barretenberg-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/backend_barretenberg build
5 changes: 5 additions & 0 deletions .github/scripts/backend-barretenberg-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/backend_barretenberg test
5 changes: 5 additions & 0 deletions .github/scripts/install_wasm-bindgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo-binstall wasm-bindgen-cli --version 0.2.86 -y
7 changes: 7 additions & 0 deletions .github/scripts/integration-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

cd /usr/src/noir
apt-get install libc++-dev -y
npx playwright install && npx playwright install-deps
yarn workspace integration-tests test
9 changes: 9 additions & 0 deletions .github/scripts/nargo-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eu

cd /usr/src/noir
export SOURCE_DATE_EPOCH=$(date +%s)
export GIT_DIRTY=false
export GIT_COMMIT=$(git rev-parse --verify HEAD)

cargo build --release
11 changes: 11 additions & 0 deletions .github/scripts/nargo-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -eu

cd /usr/src/noir
apt-get install -y curl libc++-dev

export SOURCE_DATE_EPOCH=$(date +%s)
export GIT_DIRTY=false
export GIT_COMMIT=$(git rev-parse --verify HEAD)

cargo test --workspace --locked --release
5 changes: 5 additions & 0 deletions .github/scripts/noir-codegen-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/noir_codegen build
7 changes: 7 additions & 0 deletions .github/scripts/noir-codegen-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

cd /usr/src/noir
./scripts/nargo_compile_noir_codegen_assert_lt.sh
rm -rf /usr/src/noir/tooling/noir_codegen/test/assert_lt/target/debug_assert_lt.json
yarn workspace @noir-lang/noir_codegen test
5 changes: 5 additions & 0 deletions .github/scripts/noir-js-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/noir_js build
7 changes: 7 additions & 0 deletions .github/scripts/noir-js-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

cd /usr/src/noir
sklppy88 marked this conversation as resolved.
Show resolved Hide resolved
./scripts/nargo_compile_noir_js_assert_lt.sh
rm -rf /usr/src/noir/tooling/noir_js/test/noir_compiled_examples/assert_lt/target/debug_assert_lt.json
yarn workspace @noir-lang/noir_js test
5 changes: 5 additions & 0 deletions .github/scripts/noir-js-types-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/types build
6 changes: 6 additions & 0 deletions .github/scripts/noir-wasm-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

cd /usr/src/noir
.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/noir_wasm build
7 changes: 7 additions & 0 deletions .github/scripts/noir-wasm-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

cd /usr/src/noir
./scripts/nargo_compile_wasm_fixtures.sh
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noir_wasm test:browser
8 changes: 8 additions & 0 deletions .github/scripts/noir-wasm-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -eu

cd /usr/src/noir
./scripts/nargo_compile_wasm_fixtures.sh
yarn workspace @noir-lang/noir_wasm test:node
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noir_wasm test:browser
6 changes: 6 additions & 0 deletions .github/scripts/noirc-abi-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

cd /usr/src/noir
.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/noirc_abi build
6 changes: 6 additions & 0 deletions .github/scripts/noirc-abi-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

cd /usr/src/noir
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noirc_abi test:browser
5 changes: 5 additions & 0 deletions .github/scripts/noirc-abi-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

cd /usr/src/noir
yarn workspace @noir-lang/noirc_abi test
Loading
Loading