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
22 changes: 11 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/build_cpp.sh
matrix_type: cuda-13-4-nightly
matrix_type: nightly
java-static-build-matrix:
permissions:
contents: read
Expand All @@ -73,7 +73,7 @@ jobs:
build_type: ${{ inputs.build_type || 'branch' }}
matrix_name: conda-cpp-build
matrix_filter: 'map(. + {CUDA_MAJOR: (.CUDA_VER | split(".") | .[0])}) | unique_by([.ARCH, .CUDA_MAJOR])'
matrix_type: cuda-13-4-nightly
matrix_type: nightly

java-static-build:
needs: [build-details, java-static-build-matrix]
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
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: cuda-13-4-nightly
matrix_type: nightly
upload-conda:
needs: [cpp-build, python-build]
permissions:
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
package-name: libcuopt
package-type: cpp
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-libcuopt:
# Gated on the whole libcuopt/cuopt family building.
needs: [wheel-build-cuopt]
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
append-cuda-suffix: false
# One build per arch: the client has no CUDA dimension.
matrix_filter: group_by(.ARCH) | map(max_by([(.CUDA_VER|split(".")|map(tonumber)), (.PY_VER|split(".")|map(tonumber))]))
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-libcuopt-client:
# Gated on the whole libcuopt/cuopt family building.
needs: [wheel-build-cuopt]
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
package-name: libcuopt_mathopt
package-type: cpp
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-libcuopt-mathopt:
# Gated on the whole libcuopt/cuopt family building.
needs: [wheel-build-cuopt]
Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
package-name: libcuopt_routing
package-type: cpp
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-libcuopt-routing:
# Gated on the whole libcuopt/cuopt family building.
needs: [wheel-build-cuopt]
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
package-type: python
# Build a wheel 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: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-cuopt:
# Gated on the whole libcuopt/cuopt family building.
needs: [wheel-build-cuopt]
Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
pure-wheel: true
# Only need 1 package per CUDA major version. This selects "ARCH=amd64 + the latest supported Python, 1 job per major CUDA version".
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-cuopt-server:
needs: wheel-build-cuopt-server
permissions:
Expand Down Expand Up @@ -496,7 +496,7 @@ jobs:
with:
build_type: ${{ inputs.build_type || 'branch' }}
matrix_name: docs-build
matrix_type: cuda-13-4-nightly
matrix_type: nightly
docs-build:
needs: [docs-build-matrix, python-build]
permissions:
Expand Down Expand Up @@ -544,7 +544,7 @@ jobs:
pure-wheel: true
# only need 1 build (noarch package): this selects amd64, oldest-supported Python, latest-supported CUDA
matrix_filter: '[map(select(.ARCH == "amd64")) | min_by((.PY_VER | split(".") | map(tonumber)), (.CUDA_VER | split(".") | map(-tonumber)))]'
matrix_type: cuda-13-4-nightly
matrix_type: nightly
wheel-publish-cuopt-sh-client:
needs: wheel-build-cuopt-sh-client
permissions:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ jobs:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_cpp.sh
matrix_type: cuda-13-4-pr
matrix_type: pull-request
conda-cpp-tests:
needs: [conda-cpp-build, changed-files]
permissions:
Expand All @@ -437,7 +437,7 @@ jobs:
with:
build_type: pull-request
script: ci/test_cpp.sh
matrix_type: cuda-13-4-pr,pull-request
matrix_type: pull-request
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand Down Expand Up @@ -478,7 +478,7 @@ jobs:
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: cuda-13-4-pr
matrix_type: pull-request
conda-python-tests:
needs: [conda-python-build, changed-files]
permissions:
Expand All @@ -493,15 +493,15 @@ jobs:
build_type: pull-request
run_codecov: false
script: ci/test_python.sh
matrix_type: cuda-13-4-pr,pull-request
matrix_type: pull-request
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: cuda-13-4-pr
matrix_type: pull-request
docs-build:
needs: [docs-build-matrix, conda-python-build, changed-files]
permissions:
Expand Down Expand Up @@ -538,7 +538,7 @@ jobs:
build_type: pull-request
matrix_name: conda-cpp-build
matrix_filter: 'map(. + {CUDA_MAJOR: (.CUDA_VER | split(".") | .[0])}) | unique_by([.ARCH, .CUDA_MAJOR])'
matrix_type: cuda-13-4-nightly
matrix_type: pull-request

java-static-build:
needs: [java-static-build-matrix, changed-files]
Expand Down Expand Up @@ -649,7 +649,7 @@ jobs:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_wheel_libcuopt_client.sh
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-build-libcuopt-mathopt:
needs: [build-details, compute-matrix-filters, changed-files, wheel-build-libcuopt-client]
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels
Expand All @@ -669,7 +669,7 @@ jobs:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_wheel_libcuopt_mathopt.sh
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-build-libcuopt-routing:
needs: [build-details, compute-matrix-filters, changed-files, wheel-build-libcuopt-client]
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels
Expand All @@ -689,7 +689,7 @@ jobs:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_wheel_libcuopt_routing.sh
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-build-libcuopt:
needs:
- build-details
Expand All @@ -715,7 +715,7 @@ jobs:
build_type: pull-request
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
script: ci/build_wheel_libcuopt.sh
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-build-cuopt:
needs:
- build-details
Expand All @@ -742,7 +742,7 @@ jobs:
package-type: python
# Build a wheel for each CUDA x ARCH x minimum supported Python version
matrix_filter: ${{ needs.compute-matrix-filters.outputs.cuopt_filter }}
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-tests-cuopt:
needs: [wheel-build-cuopt, wheel-build-cuopt-sh-client, changed-files]
permissions:
Expand All @@ -756,7 +756,7 @@ jobs:
with:
build_type: pull-request
script: ci/test_wheel_cuopt.sh
matrix_type: cuda-13-4-pr,pull-request
matrix_type: pull-request
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand Down Expand Up @@ -784,7 +784,7 @@ jobs:
pure-wheel: true
# Only need 1 package per CUDA major version. This selects "ARCH=amd64 + the latest supported Python, 1 job per major CUDA version".
matrix_filter: ${{ needs.compute-matrix-filters.outputs.cuopt_server_filter }}
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-build-cuopt-sh-client:
needs: [build-details, compute-matrix-filters, changed-files]
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels
Expand All @@ -806,7 +806,7 @@ jobs:
pure-wheel: true
# only need 1 build (noarch package): this selects amd64, oldest-supported Python, latest-supported CUDA
matrix_filter: ${{ needs.compute-matrix-filters.outputs.cuopt_sh_client_filter }}
matrix_type: cuda-13-4-pr
matrix_type: pull-request
wheel-tests-cuopt-server:
needs: [wheel-build-cuopt, wheel-build-cuopt-server, changed-files, compute-matrix-filters]
permissions:
Expand All @@ -821,7 +821,7 @@ jobs:
build_type: pull-request
script: ci/test_wheel_cuopt_server.sh
matrix_filter: ${{ needs.compute-matrix-filters.outputs.cuopt_server_test_filter }}
matrix_type: cuda-13-4-pr,pull-request
matrix_type: pull-request
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand All @@ -843,7 +843,7 @@ jobs:
with:
build_type: pull-request
script: ci/test_self_hosted_service.sh
matrix_type: cuda-13-4-pr,pull-request
matrix_type: pull-request
pr-test-summary:
name: "PR test summary (non-blocking)"
needs:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_cpp.sh
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand All @@ -66,7 +66,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_python.sh
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
build_type: ${{ inputs.build_type }}
matrix_name: conda-cpp-build
matrix_filter: 'map(. + {CUDA_MAJOR: (.CUDA_VER | split(".") | .[0])}) | unique_by([.ARCH, .CUDA_MAJOR])'
matrix_type: cuda-13-4-nightly
matrix_type: nightly

# Runs the full Java suite against each classifier JAR build.yaml's java-static-build produced,
# on a GPU, with no libcuopt installed, so a JAR that loads but computes wrong answers fails
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_wheel_cuopt.sh
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand All @@ -174,7 +174,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_wheel_cuopt_server.sh
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly
secrets:
script-env-secret-1-key: CUOPT_S3_URI
script-env-secret-1-value: ${{ secrets.CUOPT_S3_URI }}
Expand All @@ -201,7 +201,7 @@ jobs:
sha: ${{ inputs.sha }}
script: ci/test_conda_split_packages.sh
matrix_filter: 'map(select(.ARCH == "amd64")) | sort_by(.CUDA_VER, .PY_VER) | [last]'
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly

wheel-split-package-tests:
if: ${{ inputs.build_type == 'nightly' }}
Expand All @@ -219,7 +219,7 @@ jobs:
sha: ${{ inputs.sha }}
script: ci/test_wheel_split_packages.sh
matrix_filter: 'map(select(.ARCH == "amd64")) | sort_by(.CUDA_VER, .PY_VER) | [last]'
matrix_type: cuda-13-4-nightly,nightly
matrix_type: nightly

conda-notebook-tests:
permissions:
Expand Down
Loading