From cbfa624ff71985c7fbcda8fb8295ed3769e30b9a Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 10 Sep 2026 08:27:49 -0500 Subject: [PATCH] docs-build: switch to RTX Pro 6000 --- .github/workflows/build.yaml | 18 ++++++++++++++---- .github/workflows/pr.yaml | 19 +++++++++++++++---- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d1693e990..7e33051d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -54,9 +54,16 @@ jobs: date: ${{ inputs.date }} script: ci/build_cpp.sh sha: ${{ inputs.sha }} + docs-build-matrix: + permissions: + contents: read + uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main + with: + build_type: ${{ inputs.build_type || 'branch' }} + matrix_name: docs-build docs-build: if: github.ref_type == 'branch' - needs: [python-build] + needs: [docs-build-matrix, python-build] permissions: actions: read contents: read @@ -65,13 +72,16 @@ jobs: pull-requests: read secrets: inherit # zizmor: ignore[secrets-inherit] uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main + strategy: + fail-fast: false + matrix: ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }} with: - arch: "amd64" + arch: "${{ matrix.arch }}" branch: ${{ inputs.branch }} build_type: ${{ inputs.build_type || 'branch' }} - container_image: "rapidsai/ci-conda:26.12-latest" + container_image: "rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}" date: ${{ inputs.date }} - node_type: "gpu-l4-latest-1" + node_type: "gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1" script: "ci/build_docs.sh" sha: ${{ inputs.sha }} publish-api-docs: diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index fdc5f0f11..980e7f159 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -18,6 +18,7 @@ jobs: - conda-python-build - conda-python-tests - docs-build + - docs-build-matrix - publish-api-docs - wheel-build - wheel-tests @@ -227,8 +228,15 @@ jobs: with: build_type: pull-request script: ci/test_python.sh + docs-build-matrix: + permissions: + contents: read + uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main + with: + build_type: pull-request + matrix_name: docs-build docs-build: - needs: [conda-python-build, changed-files] + needs: [docs-build-matrix, conda-python-build, changed-files] if: fromJSON(needs.changed-files.outputs.changed_file_groups).build_docs permissions: actions: read @@ -238,11 +246,14 @@ jobs: pull-requests: read secrets: inherit # zizmor: ignore[secrets-inherit] uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main + strategy: + fail-fast: false + matrix: ${{ fromJSON(needs.docs-build-matrix.outputs.matrix) }} with: build_type: pull-request - node_type: "gpu-l4-latest-1" - arch: "amd64" - container_image: "rapidsai/ci-conda:26.12-latest" + node_type: "gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1" + arch: "${{ matrix.arch }}" + container_image: "rapidsai/ci-conda:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}" script: "ci/build_docs.sh" publish-api-docs: needs: [docs-build]