Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
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
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
command: cond_spot_run_tests barretenberg-x86_64-linux-clang-assert 1 stdlib-tests
- *save_logs

acir-format-tests:
dsl-tests:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
Expand All @@ -191,7 +191,7 @@ jobs:
- *setup_env
- run:
name: "Test"
command: cond_spot_run_tests barretenberg-x86_64-linux-clang-assert 1 acir_format_tests
command: cond_spot_run_tests barretenberg-x86_64-linux-clang-assert 1 dsl_tests
- *save_logs

barretenberg-tests:
Expand Down Expand Up @@ -433,7 +433,7 @@ workflows:
- wasm-linux-clang: *defaults
- proof-system-tests: *bb_test
- honk-tests: *bb_test
- acir-format-tests: *bb_test
- dsl-tests: *bb_test
- barretenberg-tests: *bb_test
- stdlib-tests: *bb_test
- stdlib-recursion-turbo-tests: *bb_test
Expand Down
11 changes: 3 additions & 8 deletions acir_tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
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 all native tests.
RUN ./run_acir_tests.sh
RUN BB=../ts/dest/main.js ./run_acir_tests.sh
# Just run double_verify_proof as a sanity check as bb.js is quite slow.
RUN BB=../ts/dest/main.js ./run_acir_tests.sh double_verify_proof
1 change: 0 additions & 1 deletion acir_tests/acir-to-bberg-circuit/.gitignore

This file was deleted.

Loading