From 9e695b22f6709d53871c0b949117170ffd88e09a Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Mon, 6 Jul 2026 09:58:39 -0400 Subject: [PATCH] DNM: test wheel CI with cuda-base image --- .github/workflows/pr.yaml | 238 +++++++++++++++++++------------------- 1 file changed, 119 insertions(+), 119 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5602fc1144..0a00c47613 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,18 +13,18 @@ jobs: - check-nightly-ci - changed-files - checks - - conda-cpp-build - - conda-cpp-tests - - conda-cpp-checks - - conda-python-build - - conda-python-tests - - docs-build + # - conda-cpp-build + # - conda-cpp-tests + # - conda-cpp-checks + # - conda-python-build + # - conda-python-tests + # - docs-build - wheel-build-libraft - wheel-build-pylibraft - wheel-tests-pylibraft - wheel-build-raft-dask - wheel-tests-raft-dask - - devcontainer + # - devcontainer - telemetry-setup permissions: actions: read @@ -206,94 +206,94 @@ jobs: with: enable_check_generated_files: false ignored_pr_jobs: telemetry-summarize - conda-cpp-build: - 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/conda-cpp-build.yaml@main - with: - build_type: pull-request - script: ci/build_cpp.sh - node_type: cpu16 - 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 - 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: libraft - conda-python-build: - 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-python-build.yaml@main - with: - build_type: pull-request - 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))) - conda-python-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 - run_codecov: false - script: ci/test_python.sh - docs-build: - 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).build_docs - with: - build_type: pull-request - node_type: "gpu-l4-latest-1" - arch: "amd64" - container_image: "rapidsai/ci-conda:26.08-latest" - script: "ci/build_docs.sh" + # conda-cpp-build: + # 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/conda-cpp-build.yaml@main + # with: + # build_type: pull-request + # script: ci/build_cpp.sh + # node_type: cpu16 + # 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 + # 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: libraft + # conda-python-build: + # 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-python-build.yaml@main + # with: + # build_type: pull-request + # 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))) + # conda-python-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 + # run_codecov: false + # script: ci/test_python.sh + # docs-build: + # 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).build_docs + # with: + # build_type: pull-request + # node_type: "gpu-l4-latest-1" + # arch: "amd64" + # container_image: "rapidsai/ci-conda:26.08-latest" + # script: "ci/build_docs.sh" wheel-build-libraft: needs: checks permissions: @@ -342,7 +342,7 @@ jobs: packages: read pull-requests: read secrets: inherit # zizmor: ignore[secrets-inherit] - uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@smaller_citestwheel if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels with: build_type: pull-request @@ -374,33 +374,33 @@ jobs: packages: read pull-requests: read secrets: inherit # zizmor: ignore[secrets-inherit] - uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@smaller_citestwheel if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels with: build_type: pull-request script: ci/test_wheel_raft_dask.sh - devcontainer: - needs: telemetry-setup - 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.3"]' - 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 -DBUILD_PRIMS_BENCH=ON --verbose 2>&1 | tee telemetry-artifacts/build.log; - sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt; + # devcontainer: + # needs: telemetry-setup + # 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.3"]' + # 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 -DBUILD_PRIMS_BENCH=ON --verbose 2>&1 | tee telemetry-artifacts/build.log; + # sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt; telemetry-summarize: # This job must use a self-hosted runner to record telemetry traces. runs-on: linux-amd64-cpu4