diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1bc3fe17d8..84b63b632d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: barretenberg-cpp: ${{ steps.filter.outputs.barretenberg-cpp }} noir: ${{ steps.filter.outputs.noir }} noir-projects: ${{ steps.filter.outputs.noir-projects }} + yarn-project: ${{ steps.filter.outputs.yarn-project }} txe: ${{ steps.filter.outputs.txe }} l1-contracts: ${{ steps.filter.outputs.l1-contracts }} non-docs: ${{ steps.filter.outputs.non-docs }} @@ -95,6 +96,8 @@ jobs: - 'l1-contracts/**' noir-projects: - 'noir-projects/**' + yarn-project: + - 'yarn-project/**' txe: - 'yarn-project/txe/**' non-barretenberg-cpp: @@ -155,7 +158,7 @@ jobs: # prepare images locally, tagged by commit hash - name: "Build E2E Image" timeout-minutes: 40 - if: (needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-misc-ci == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' + if: (needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' run: | earthly-ci ./yarn-project+export-e2e-test-images # We base our e2e list used in e2e-x86 off the targets in ./yarn-project/end-to-end @@ -184,7 +187,7 @@ jobs: # all the non-bench end-to-end integration tests for aztec e2e: needs: [build, configure] - if: (needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-misc-ci == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'e2e') + if: (needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'e2e') runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -216,7 +219,7 @@ jobs: # all the benchmarking end-to-end integration tests for aztec (not required to merge) bench-e2e: needs: [build, configure] - if: needs.build.outputs.bench_list != '[]' && ((needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-misc-ci == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'bench')) + if: needs.build.outputs.bench_list != '[]' && ((needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true') || github.ref_name == 'master' || contains(github.event.pull_request.labels.*.name, 'bench')) runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -525,7 +528,7 @@ jobs: noir-examples: needs: [build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 - if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' + if: needs.configure.outputs.noir == 'true' steps: - uses: actions/checkout@v4 with: { ref: "${{ env.GIT_COMMIT }}" } @@ -552,7 +555,7 @@ jobs: noir-projects: needs: [build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 - if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' || needs.configure.outputs.noir-projects == 'true' || needs.configure.outputs.txe == 'true' + if: needs.configure.outputs.noir == 'true' || needs.configure.outputs.noir-projects == 'true' || needs.configure.outputs.txe == 'true' steps: - uses: actions/checkout@v4 with: { ref: "${{ env.GIT_COMMIT }}" } @@ -581,6 +584,7 @@ jobs: yarn-project-formatting: needs: [build, configure] + if: needs.configure.outputs.yarn-project == 'true' || github.ref_name == 'master' runs-on: ${{ needs.configure.outputs.username }}-x86 steps: - uses: actions/checkout@v4 @@ -594,6 +598,7 @@ jobs: yarn-project-test: needs: [build, configure] + if: needs.configure.outputs.yarn-project == 'true' || github.ref_name == 'master' runs-on: ${{ needs.configure.outputs.username }}-x86 steps: - uses: actions/checkout@v4 @@ -608,6 +613,7 @@ jobs: prover-client-test: needs: [build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 + if: needs.configure.outputs.yarn-project == 'true' || github.ref_name == 'master' steps: - uses: actions/checkout@v4 with: { ref: "${{ env.GIT_COMMIT }}" } @@ -621,6 +627,7 @@ jobs: # proving disabled network-test: needs: [build, configure] + if: needs.configure.outputs.yarn-project == 'true' runs-on: ${{ needs.configure.outputs.username }}-x86 strategy: max-parallel: 1 @@ -642,6 +649,7 @@ jobs: # note: proving disabled kind-network-test: needs: [build, configure] + if: needs.configure.output.yarn-project == 'true' runs-on: ${{ needs.configure.outputs.username }}-x86 strategy: fail-fast: false @@ -797,7 +805,7 @@ jobs: protocol-circuits-gates-report: needs: [build, configure] - if: needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-misc-ci == 'true' + if: needs.configure.outputs.non-docs == 'true' && needs.configure.outputs.non-barretenberg-cpp == 'true' runs-on: ${{ needs.configure.outputs.username }}-x86 permissions: pull-requests: write