@@ -18,10 +18,15 @@ jobs:
1818 - conda-cpp-checks
1919 - conda-python-build
2020 - conda-python-tests
21+ - rocky8-clib-standalone-build-matrix
2122 - rocky8-clib-standalone-build
23+ - rocky8-clib-tests-matrix
2224 - rocky8-clib-tests
25+ - conda-java-build-and-tests-matrix
2326 - conda-java-build-and-tests
27+ - rust-build-matrix
2428 - rust-build
29+ - go-build-matrix
2530 - go-build
2631 - docs-build
2732 - wheel-build-libcuvs
@@ -373,110 +378,127 @@ jobs:
373378 with :
374379 build_type : pull-request
375380 script : ci/test_python.sh
381+ rocky8-clib-standalone-build-matrix :
382+ needs : checks
383+ secrets : inherit
384+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
385+ with :
386+ build_type : pull-request
387+ matrix_name : conda-cpp-build
376388 rocky8-clib-standalone-build :
377- needs : [checks]
389+ needs : rocky8-clib-standalone-build-matrix
378390 secrets : inherit
379391 uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
380392 strategy :
381393 fail-fast : false
382- matrix :
383- cuda_version :
384- - &latest_cuda12 '12.9.1'
385- - &latest_cuda13 '13.1.1'
386- arch :
387- - amd64
388- - arm64
394+ matrix : ${{ fromJSON(needs.rocky8-clib-standalone-build-matrix.outputs.matrix) }}
389395 with :
390396 build_type : pull-request
391397 arch : " ${{matrix.arch}}"
392398 date : ${{ inputs.date }}_c
393- container_image : " rapidsai/ci-wheel:26.06-cuda${{ matrix.cuda_version }}-rockylinux8-py3.11 "
399+ container_image : " rapidsai/ci-wheel:26.06-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
394400 node_type : " cpu16"
395401 requires_license_builder : true
396402 script : " ci/build_standalone_c.sh --build-tests"
397- artifact-name : " libcuvs_c_${{ matrix.cuda_version }}_${{ matrix.arch }}.tar.gz"
403+ artifact-name : " libcuvs_c_${{ matrix.CUDA_VER }}_${{ matrix.ARCH }}.tar.gz"
398404 file_to_upload : " libcuvs_c.tar.gz"
399405 sha : ${{ inputs.sha }}
400- rocky8-clib-tests :
406+ rocky8-clib-tests-matrix :
401407 needs : [rocky8-clib-standalone-build, changed-files]
402408 secrets : inherit
403- uses : rapidsai/shared-workflows/.github/workflows/custom-job .yaml@main
409+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix .yaml@main
404410 if : fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
411+ with :
412+ build_type : pull-request
413+ matrix_name : conda-cpp-build
414+ rocky8-clib-tests :
415+ needs : rocky8-clib-tests-matrix
416+ secrets : inherit
417+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
405418 strategy :
406419 fail-fast : false
407- matrix :
408- cuda_version :
409- - *latest_cuda12
410- - *latest_cuda13
411- arch :
412- - amd64
413- - arm64
420+ matrix : ${{ fromJSON(needs.rocky8-clib-tests-matrix.outputs.matrix) }}
414421 with :
415422 build_type : pull-request
416423 node_type : " gpu-l4-latest-1"
417424 arch : " ${{matrix.arch}}"
418425 date : ${{ inputs.date }}_c
419- container_image : " rapidsai/ci-wheel:26.06-cuda${{ matrix.cuda_version }}-rockylinux8-py3.11 "
420- script : " ci/test_standalone_c.sh libcuvs_c_${{ matrix.cuda_version }}_${{ matrix.arch }}.tar.gz"
426+ container_image : " rapidsai/ci-wheel:26.06-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
427+ script : " ci/test_standalone_c.sh libcuvs_c_${{ matrix.CUDA_VER }}_${{ matrix.ARCH }}.tar.gz"
421428 sha : ${{ inputs.sha }}
422- conda-java-build-and-tests :
429+ conda-java-build-and-tests-matrix :
423430 needs : [conda-cpp-build, changed-files]
424431 secrets : inherit
425- uses : rapidsai/shared-workflows/.github/workflows/custom-job .yaml@main
432+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix .yaml@main
426433 if : fromJSON(needs.changed-files.outputs.changed_file_groups).test_java || fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
434+ with :
435+ build_type : pull-request
436+ matrix_name : conda-cpp-build
437+ matrix_filter : map(select(.ARCH == "amd64"))
438+ conda-java-build-and-tests :
439+ needs : conda-java-build-and-tests-matrix
440+ secrets : inherit
441+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
427442 # Artifacts are not published from these jobs, so it's safe to run for multiple CUDA versions.
428443 # If these jobs start producing artifacts, the names will have to differentiate between CUDA versions.
429444 strategy :
430445 fail-fast : false
431- matrix :
432- cuda_version :
433- - *latest_cuda12
434- - *latest_cuda13
446+ matrix : ${{ fromJSON(needs.conda-java-build-and-tests-matrix.outputs.matrix) }}
435447 with :
436448 build_type : pull-request
437449 node_type : " gpu-l4-latest-1"
438450 arch : " amd64"
439- container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13 "
451+ container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
440452 script : " ci/test_java.sh"
441- artifact-name : " cuvs-java-cuda${{ matrix.cuda_version }}"
453+ artifact-name : " cuvs-java-cuda${{ matrix.CUDA_VER }}"
442454 file_to_upload : " java/cuvs-java/target/"
443- rust-build :
455+ rust-build-matrix :
444456 needs : [conda-cpp-build, changed-files]
445457 secrets : inherit
446- uses : rapidsai/shared-workflows/.github/workflows/custom-job .yaml@main
458+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix .yaml@main
447459 if : fromJSON(needs.changed-files.outputs.changed_file_groups).test_rust || fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
460+ with :
461+ build_type : pull-request
462+ matrix_name : conda-cpp-build
463+ matrix_filter : map(select(.ARCH == "amd64"))
464+ rust-build :
465+ needs : rust-build-matrix
466+ secrets : inherit
467+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
448468 # Artifacts are not published from these jobs, so it's safe to run for multiple CUDA versions.
449469 # If these jobs start producing artifacts, the names will have to differentiate between CUDA versions.
450470 strategy :
451471 fail-fast : false
452- matrix :
453- cuda_version :
454- - *latest_cuda12
455- - *latest_cuda13
472+ matrix : ${{ fromJSON(needs.rust-build-matrix.outputs.matrix) }}
456473 with :
457474 build_type : pull-request
458475 node_type : " gpu-l4-latest-1"
459476 arch : " amd64"
460- container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13 "
477+ container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
461478 script : " ci/build_rust.sh"
462- go-build :
479+ go-build-matrix :
463480 needs : [conda-cpp-build, changed-files]
464481 secrets : inherit
465- uses : rapidsai/shared-workflows/.github/workflows/custom-job .yaml@main
482+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix .yaml@main
466483 if : fromJSON(needs.changed-files.outputs.changed_file_groups).test_go || fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
484+ with :
485+ build_type : pull-request
486+ matrix_name : conda-cpp-build
487+ matrix_filter : map(select(.ARCH == "amd64"))
488+ go-build :
489+ needs : go-build-matrix
490+ secrets : inherit
491+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
467492 # Artifacts are not published from these jobs, so it's safe to run for multiple CUDA versions.
468493 # If these jobs start producing artifacts, the names will have to differentiate between CUDA versions.
469494 strategy :
470495 fail-fast : false
471- matrix :
472- cuda_version :
473- - *latest_cuda12
474- - *latest_cuda13
496+ matrix : ${{ fromJSON(needs.go-build-matrix.outputs.matrix) }}
475497 with :
476498 build_type : pull-request
477499 node_type : " gpu-l4-latest-1"
478500 arch : " amd64"
479- container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13 "
501+ container_image : " rapidsai/ci-conda:26.06-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }} "
480502 script : " ci/build_go.sh"
481503 docs-build :
482504 needs : conda-python-build
0 commit comments