chore: Use BrilligCall for unconstrained main and update AVM transpil… #77
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
name: CI (ARM) | |
on: | |
push: | |
branches: [master] | |
workflow_dispatch: | |
inputs: | |
runner_action: | |
description: "The action to take with the self-hosted runner (start, stop, restart)." | |
required: false | |
just_start_spot: | |
description: "Should we just run spots?" | |
type: boolean | |
required: false | |
concurrency: | |
# force parallelism in master, cancelling in branches (only relevant to workflow_dispatch) | |
group: ci-${{ github.ref_name == 'master' && github.run_id || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
setup: | |
uses: ./.github/workflows/setup-runner.yml | |
with: | |
runner_label: master-arm | |
ebs_cache_size_gb: 256 | |
runner_concurrency: 8 | |
subaction: ${{ github.event.inputs.runner_action || 'start' }} | |
ec2_instance_type: r6g.16xlarge | |
ec2_ami_id: ami-0d8a9b0419ddb331a | |
ec2_instance_ttl: 40 # refreshed by jobs | |
secrets: inherit | |
build: | |
needs: setup | |
runs-on: master-arm | |
steps: | |
- {uses: actions/checkout@v4, with: { ref: "${{ github.event.pull_request.head.sha }}"}} | |
- uses: ./.github/ci-setup-action | |
with: | |
dockerhub_password: "${{ secrets.DOCKERHUB_PASSWORD }}" | |
concurrency_token: "${{ secrets.AZTEC_GITHUB_TOKEN }}" | |
# must be globally unique for build x runner | |
concurrency_key: build-master-arm | |
# prepare images locally, tagged by commit hash | |
- name: "Build E2E Image" | |
timeout-minutes: 40 | |
run: earthly ./yarn-project+export-end-to-end | |
# all the end-to-end integration tests for aztec | |
e2e: | |
needs: build | |
runs-on: master-arm | |
steps: | |
- {uses: actions/checkout@v4, with: { ref: "${{ github.event.pull_request.head.sha }}"}} | |
- uses: ./.github/ci-setup-action | |
with: | |
dockerhub_password: "${{ secrets.DOCKERHUB_PASSWORD }}" | |
concurrency_key: e2e-master-arm-e2e-tests | |
- name: Test | |
working-directory: ./yarn-project/end-to-end/ | |
timeout-minutes: 15 | |
run: earthly -P --no-output +uniswap-trade-on-l1-from-l2 --e2e_mode=cache |