Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- conda-python-build
- conda-python-tests
- docs-build
- docs-build-matrix
- publish-api-docs
- wheel-build
- wheel-tests
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand Down