Skip to content

Commit

Permalink
chore(ci): test noir-projects in CI (#4604)
Browse files Browse the repository at this point in the history
Fixes #4601 

Note: I added a Nargo.toml file at the root of aztec-nr so it can find
the project tests, please LMK if there's any reason to not have that
  • Loading branch information
spypsy authored Feb 14, 2024
1 parent 0e503c1 commit 2ac428f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions noir-projects/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ WORKDIR /usr/src/noir-projects
COPY . .
# Build
WORKDIR /usr/src/noir-projects/noir-contracts
RUN ./scripts/compile.sh && ./scripts/transpile.sh
RUN ./scripts/compile.sh && ./scripts/transpile.sh && ../../noir/target/release/nargo test --silence-warnings

WORKDIR /usr/src/noir-projects/noir-protocol-circuits
RUN cd src && ../../../noir/target/release/nargo compile --silence-warnings
RUN cd src && ../../../noir/target/release/nargo compile --silence-warnings && ../../../noir/target/release/nargo test --silence-warnings

WORKDIR /usr/src/noir-projects/aztec-nr
RUN ../../noir/target/release/nargo compile --silence-warnings && ../../noir/target/release/nargo test --silence-warnings
12 changes: 12 additions & 0 deletions noir-projects/aztec-nr/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[workspace]
members = [
"address-note",
"authwit",
"aztec",
"compressed-string",
"easy-private-state",
"field-note",
"safe-math",
"slow-updates-tree",
"value-note",
]

0 comments on commit 2ac428f

Please sign in to comment.