Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Revert "TEMP: minimize CI to failing WSL jobs"
This reverts commit 51b800c.
  • Loading branch information
bdice committed Nov 4, 2026
commit 911c07b3d57a9fdf87fd7c02498a39f18d64e493
333 changes: 329 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,64 @@ concurrency:
cancel-in-progress: true
permissions: {}
jobs:
# Please keep pr-builder as the top job here
pr-builder:
needs:
- build-details
- check-nightly-ci
- changed-files
- checks
- clang-tidy
- conda-cpp-build
- conda-cpp-tests
- conda-cpp-checks
- conda-python-build
- conda-python-tests-singlegpu
- conda-python-tests-dask
- conda-python-tests-cudf-pandas-integration
- conda-python-scikit-learn-accel-tests
- conda-python-cuml-accel-upstream-tests
- conda-notebook-tests
- docs-build
- docs-build-matrix
- publish-api-docs
- wheel-build-libcuml
- wheel-build-cuml
- wheel-tests-cuml
- wheel-tests-cuml-dask
- devcontainer
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@main
if: always()
with:
needs: ${{ toJSON(needs) }}
build-details:
uses: rapidsai/shared-workflows/.github/workflows/compute-build-details.yaml@main
check-nightly-ci:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
id-token: write
pull-requests: read
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Get PR Info
id: get-pr-info
uses: nv-gha-runners/get-pr-info@090577647b8ddc4e06e809e264f7881650ecdccf # main
- name: Check if nightly CI is passing
uses: rapidsai/shared-actions/check_nightly_success/dispatch@main
with:
repo: ${{ github.repository }}
target-branch: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
max-days-without-success: 14
changed-files:
permissions:
actions: read
Expand Down Expand Up @@ -216,8 +272,256 @@ jobs:
- '!img/**'
- '!notebooks/**'
- '!thirdparty/LICENSES/**'
checks:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@main
with:
enable_check_generated_files: false
# Main builds seed this cache. PR merge refs can restore it but should not create
# duplicate archives that are inaccessible to other PRs.
pre-commit-cache-read-only: true
clang-tidy:
needs: checks
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
with:
build_type: pull-request
node_type: "cpu8"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/run_clang_tidy.sh"
conda-cpp-build:
needs: [build-details, checks]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@main
with:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
node_type: cpu16
script: ci/build_cpp.sh
matrix_type: pull-request
conda-cpp-tests:
needs: [conda-cpp-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
with:
build_type: pull-request
script: ci/test_cpp.sh
matrix_type: pull-request,wsl-pr
conda-cpp-checks:
needs: conda-cpp-build
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@main
with:
build_type: pull-request
package_name: libcuml
conda-python-build:
needs: [build-details, conda-cpp-build]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
with:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_python.sh
# Build a conda package for each CUDA x ARCH x minimum supported Python version
matrix_filter: group_by({CUDA_VER, ARCH}) | map(min_by(.PY_VER | split(".") | map(tonumber)))
matrix_type: pull-request
conda-python-tests-singlegpu:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda
with:
build_type: pull-request
script: "ci/test_python_singlegpu.sh"
matrix_type: pull-request
conda-python-tests-cudf-pandas-integration:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda
with:
# Select the amd64 entry with the highest CUDA and Python version
matrix_filter: map(select(.ARCH=="amd64")) | [max_by([.CUDA_VER,.PY_VER]|map(split(".")|map(tonumber)))]
build_type: pull-request
script: "ci/test_python_integration.sh"
matrix_type: pull-request
conda-python-tests-dask:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda
with:
build_type: pull-request
script: "ci/test_python_dask.sh"
matrix_type: pull-request
conda-python-scikit-learn-accel-tests:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda
with:
build_type: pull-request
script: "ci/test_python_scikit_learn_tests.sh"
# One run for each dependencies config on amd64, breaking ties by highest Python version
matrix_filter: |
(
map(select(.ARCH == "amd64"))
| sort_by(.PY_VER)
| unique_by(.DEPENDENCIES)
)
+ (
map(select(.ARCH == "amd64"))
| map(select(.DEPENDENCIES == "oldest"))
| sort_by(.PY_VER)
| map(.DEPENDENCIES = "intermediate")
)
matrix_type: pull-request
conda-python-cuml-accel-upstream-tests:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda
with:
build_type: pull-request
script: "ci/test_python_cuml_accel_upstream.sh"
# One run for each dependencies config on amd64, breaking ties by highest Python version
matrix_filter: map(select(.ARCH == "amd64")) | sort_by(.PY_VER) | unique_by(.DEPENDENCIES)
matrix_type: pull-request
conda-notebook-tests:
needs: [conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_notebooks
with:
build_type: pull-request
node_type: "gpu-rtxpro6000-latest-1"
arch: "amd64"
container_image: "rapidsai/ci-conda:26.12-latest"
script: "ci/test_notebooks.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
matrix_type: pull-request
docs-build:
needs: [docs-build-matrix, conda-python-build, changed-files]
permissions:
actions: read
contents: read
id-token: write
packages: read
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) }}
if: fromJSON(needs.changed-files.outputs.changed_file_groups).build_docs
with:
build_type: pull-request
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]
permissions:
contents: read
id-token: write
secrets:
akamai-access-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_ACCESS_TOKEN }}
akamai-client-token: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_TOKEN }}
akamai-client-secret: ${{ secrets.NVIDIA_DOCS_AKAMAI_CLIENT_SECRET }}
akamai-emails-to-notify: ${{ secrets.NVIDIA_DOCS_AKAMAI_EMAILS_TO_NOTIFY }}
akamai-host: ${{ secrets.NVIDIA_DOCS_AKAMAI_HOST }}
target-aws-access-key-id: ${{ secrets.NVIDIA_DOCS_AWS_ACCESS_KEY_ID }}
target-aws-region: ${{ secrets.NVIDIA_DOCS_AWS_REGION }}
target-aws-secret-access-key: ${{ secrets.NVIDIA_DOCS_AWS_SECRET_ACCESS_KEY }}
target-archive-s3-bucket: ${{ secrets.NVIDIA_DOCS_ARCHIVE_S3_BUCKET }}
target-s3-bucket: ${{ secrets.NVIDIA_DOCS_S3_BUCKET }}
uses: rapidsai/shared-workflows/.github/workflows/publish-api-docs.yaml@main
with:
docs-projects: cuml
dry-run: true
wheel-build-libcuml:
needs: [build-details]
needs: [build-details, checks]
permissions:
actions: read
contents: read
Expand All @@ -240,7 +544,7 @@ jobs:
package-type: cpp
matrix_type: pull-request
wheel-build-cuml:
needs: [build-details, wheel-build-libcuml]
needs: [build-details, checks, wheel-build-libcuml]
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -273,7 +577,7 @@ jobs:
with:
build_type: pull-request
script: ci/test_wheel.sh
matrix_type: wsl-pr
matrix_type: pull-request,wsl-pr
wheel-tests-cuml-dask:
needs: [wheel-build-cuml, changed-files]
permissions:
Expand All @@ -288,4 +592,25 @@ jobs:
with:
build_type: pull-request
script: ci/test_wheel_dask.sh
matrix_type: wsl-pr
matrix_type: pull-request,wsl-pr
devcontainer:
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@main
with:
arch: '["amd64", "arm64"]'
cuda: '["13.4"]'
node_type: "cpu8"
env: |
SCCACHE_DIST_MAX_RETRIES=inf
SCCACHE_SERVER_LOG=sccache=debug
SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
build_command: |
sccache --zero-stats;
build-all -j0 --verbose -DBUILD_TESTS=ON -DBUILD_BENCHMARKS=ON;
sccache --show-adv-stats;
Loading