From 1aaee267127bef8b7820057e6e9118e828c57330 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:38:26 +0000 Subject: [PATCH] chore: build acir test programs in parallel to e2e build step (#9988) This PR shaves about a minute off of the `acir-test`s jobs as we can build all of the ACIR programs in parallel with the main `build` step. I've decided to add an extra dependency on `build` so that we're only changing when the ACIR is generated but still running the tests at the same time. The `noir+build-acir-tests` target only depends on the `+nargo` target and nothing outside. --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 789e0413389..4bc8949b3b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -385,7 +385,7 @@ jobs: run: earthly-ci --no-output ./+test noir-build-acir-tests: - needs: [build, configure] + needs: [build-images, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -399,7 +399,7 @@ jobs: run: earthly-ci --no-output ./noir/+build-acir-tests bb-acir-tests-bb: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -414,7 +414,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-bb bb-acir-tests-bb-ultra-plonk: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -429,7 +429,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-bb-ultra-plonk bb-acir-tests-bb-ultra-honk: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -444,7 +444,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-bb-ultra-honk bb-acir-tests-bb-mega-honk: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -459,7 +459,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-bb-mega-honk bb-acir-tests-sol: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -474,7 +474,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-sol bb-acir-tests-sol-honk: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: @@ -489,7 +489,7 @@ jobs: run: earthly-ci --no-output ./+barretenberg-acir-tests-sol-honk bb-acir-tests-bb-js: - needs: [noir-build-acir-tests, configure] + needs: [noir-build-acir-tests, build, configure] runs-on: ${{ needs.configure.outputs.username }}-x86 if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true' steps: