Skip to content

Commit

Permalink
chore: add arm64 version of aztec-nargo image (#7034)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanks12 authored Jun 13, 2024
1 parent cfef246 commit 2a41e84
Showing 1 changed file with 73 additions and 7 deletions.
80 changes: 73 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
command: cond_spot_run_build noir-packages 32
aztec_manifest_key: noir-packages

avm-transpiler:
avm-transpiler-x86_64:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
Expand All @@ -243,7 +243,31 @@ jobs:
command: cond_spot_run_build avm-transpiler 32
aztec_manifest_key: avm-transpiler

aztec-nargo:
avm-transpiler-arm64:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
steps:
- *checkout
- *setup_env
- run:
name: "Build"
command: cond_spot_run_build avm-transpiler 32 arm64
aztec_manifest_key: avm-transpiler

avm-transpiler-ecr-manifest:
machine:
image: default
resource_class: medium
steps:
- *checkout
- *setup_env
- run:
name: "Create ECR manifest"
command: create_ecr_manifest avm-transpiler x86_64,arm64
aztec_manifest_key: avm-transpiler

aztec-nargo-x86_64:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
Expand All @@ -255,6 +279,30 @@ jobs:
command: cond_spot_run_build aztec-nargo 32
aztec_manifest_key: aztec-nargo

aztec-nargo-arm64:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
steps:
- *checkout
- *setup_env
- run:
name: "Build"
command: cond_spot_run_build aztec-nargo 32 arm64
aztec_manifest_key: aztec-nargo

aztec-nargo-ecr-manifest:
machine:
image: default
resource_class: medium
steps:
- *checkout
- *setup_env
- run:
name: "Create ECR manifest"
command: create_ecr_manifest aztec-nargo x86_64,arm64
aztec_manifest_key: aztec-nargo

l1-contracts:
machine:
image: default
Expand Down Expand Up @@ -510,15 +558,33 @@ workflows:
<<: *defaults

# Transpiler
- avm-transpiler:
- avm-transpiler-x86_64:
requires:
- noir-ecr-manifest
- noir-x86_64
<<: *defaults
- avm-transpiler-arm64:
requires:
- noir-arm64
<<: *defaults
- avm-transpiler-ecr-manifest:
requires:
- avm-transpiler-x86_64
- avm-transpiler-arm64
<<: *defaults

# aztec-nargo (nargo & transpiler)
- aztec-nargo:
- aztec-nargo-x86_64:
requires:
- avm-transpiler-x86_64
<<: *defaults
- aztec-nargo-arm64:
requires:
- avm-transpiler-arm64
<<: *defaults
- aztec-nargo-ecr-manifest:
requires:
- avm-transpiler
- aztec-nargo-x86_64
- aztec-nargo-arm64
<<: *defaults

# Barretenberg
Expand All @@ -536,7 +602,7 @@ workflows:

- noir-projects:
requires:
- avm-transpiler
- avm-transpiler-ecr-manifest
- noir-ecr-manifest
<<: *defaults

Expand Down

0 comments on commit 2a41e84

Please sign in to comment.