-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): Runs all noir test vectors against bb and bb.js in ci. (#…
…590)
- Loading branch information
1 parent
19e672e
commit b083531
Showing
24 changed files
with
2,652 additions
and
28 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
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ node_modules | |
ts/dest | ||
.tsbuildinfo | ||
.idea | ||
cmake-build-debug | ||
cmake-build-debug |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
acir_tests | ||
acir-to-bberg-circuit/target |
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 @@ | ||
acir_tests |
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,18 @@ | ||
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/barretenberg-x86_64-linux-clang-assert | ||
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/bb.js | ||
|
||
FROM rust:alpine as atbbc | ||
RUN apk update && apk add musl-dev | ||
WORKDIR /usr/src/barretenberg/acir_tests | ||
COPY acir-to-bberg-circuit acir-to-bberg-circuit | ||
RUN cd acir-to-bberg-circuit && cargo build --release | ||
|
||
FROM node:18-alpine | ||
RUN apk update && apk add git bash curl | ||
COPY --from=0 /usr/src/barretenberg/cpp/build /usr/src/barretenberg/cpp/build | ||
COPY --from=1 /usr/src/barretenberg/ts /usr/src/barretenberg/ts | ||
COPY --from=2 /usr/src/barretenberg/acir_tests/acir-to-bberg-circuit /usr/src/barretenberg/acir_tests/acir-to-bberg-circuit | ||
WORKDIR /usr/src/barretenberg/acir_tests | ||
COPY . . | ||
RUN ./run_acir_tests.sh | ||
RUN BB=../ts/dest/main.js ./run_acir_tests.sh |
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 @@ | ||
/target |
Oops, something went wrong.