From f621883c1dd086bd926259814e01f7a9f54baa28 Mon Sep 17 00:00:00 2001 From: Vladislav Volosnikov Date: Tue, 20 Aug 2024 16:01:20 +0200 Subject: [PATCH] Fix CI workflow --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2189082d5c89..151e59242d5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,15 +166,16 @@ jobs: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - build-push-prover-images-avx512: + build-witness-generator-image-avx512: name: Build prover images with avx512 instructions - needs: [setup] - uses: ./.github/workflows/build-prover-template.yml - if: contains(github.ref_name, 'prover') + needs: changed_files + if: ${{ (needs.changed_files.outputs.prover == 'true' || needs.changed_files.outputs.all == 'true') && !contains(github.ref_name, 'release-please--branches') }} + uses: ./.github/workflows/build-witness-generator-template.yml with: image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}-avx512 + action: "build" ERA_BELLMAN_CUDA_RELEASE: ${{ vars.ERA_BELLMAN_CUDA_RELEASE }} - CUDA_ARCH: "60;70;75;89" + is_pr_from_fork: ${{ github.event.pull_request.head.repo.fork == true }} WITNESS_GENERATOR_RUST_FLAGS: "-Ctarget_feature=+avx512bw,+avx512cd,avx512dq,avx512f,avx512vl" secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}