File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,7 +259,15 @@ jobs:
259259 secrets :
260260 GPUTESTER_CRATES_TOKEN : ${{ secrets.GPUTESTER_CRATES_TOKEN }}
261261 uses : ./.github/workflows/publish-rust.yaml
262+ docs-build-matrix :
263+ permissions :
264+ contents : read
265+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
266+ with :
267+ build_type : ${{ inputs.build_type || 'branch' }}
268+ matrix_name : docs-build
262269 docs-build :
270+ needs : [docs-build-matrix]
263271 if : github.ref_type == 'branch'
264272 permissions :
265273 actions : read
@@ -269,13 +277,16 @@ jobs:
269277 pull-requests : read
270278 secrets : inherit # zizmor: ignore[secrets-inherit]
271279 uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
280+ strategy :
281+ fail-fast : false
282+ matrix : ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }}
272283 with :
273- arch : " amd64 "
284+ arch : " ${{ matrix.arch }} "
274285 branch : ${{ inputs.branch }}
275286 build_type : ${{ inputs.build_type || 'branch' }}
276- container_image : " rapidsai/ci-conda:26.12-latest "
287+ container_image : " rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
277288 date : ${{ inputs.date }}
278- node_type : " gpu-l4-latest -1"
289+ node_type : " gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }} -1"
279290 script : " ci/build_docs.sh"
280291 sha : ${{ inputs.sha }}
281292 wheel-build-libcuvs :
Original file line number Diff line number Diff line change 3333 - go-build-matrix
3434 - go-build
3535 - docs-build
36+ - docs-build-matrix
3637 - wheel-build-libcuvs
3738 - wheel-build-cuvs
3839 - wheel-tests-cuvs
@@ -737,7 +738,15 @@ jobs:
737738 arch : " amd64"
738739 container_image : " rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
739740 script : " ci/build_go.sh"
741+ docs-build-matrix :
742+ permissions :
743+ contents : read
744+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
745+ with :
746+ build_type : pull-request
747+ matrix_name : docs-build
740748 docs-build :
749+ needs : [docs-build-matrix]
741750 permissions :
742751 actions : read
743752 contents : read
@@ -746,11 +755,15 @@ jobs:
746755 pull-requests : read
747756 secrets : inherit # zizmor: ignore[secrets-inherit]
748757 uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
758+ if : fromJSON(needs.changed-files.outputs.changed_file_groups).build_docs
759+ strategy :
760+ fail-fast : false
761+ matrix : ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }}
749762 with :
750763 build_type : pull-request
751- node_type : " gpu-l4-latest -1"
752- arch : " amd64 "
753- container_image : " rapidsai/ci-conda:26.12-latest "
764+ node_type : " gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }} -1"
765+ arch : " ${{ matrix.arch }} "
766+ container_image : " rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
754767 script : " ci/build_docs.sh"
755768 wheel-build-libcuvs :
756769 needs : [build-details, checks]
You can’t perform that action at this time.
0 commit comments