2727 - rocky8-clib-tests
2828 - conda-java-build-and-tests-matrix
2929 - conda-java-build-and-tests
30+ - conda-java-tests-other-arch-matrix
31+ - conda-java-tests-other-arch
3032 - conda-lucene-build-and-tests
33+ - conda-lucene-tests-other-arch
3134 - rust-build-matrix
3235 - rust-build
3336 - go-build-matrix
@@ -564,30 +567,45 @@ jobs:
564567 build_type : pull-request
565568 matrix_name : conda-cpp-build
566569 rocky8-clib-standalone-build :
567- needs : [build-details, rocky8-clib-standalone-build-matrix]
570+ needs : [rocky8-clib-standalone-build-matrix]
571+ runs-on : linux-${{ matrix.ARCH }}-cpu16
572+ env :
573+ RAPIDS_BUILD_TYPE : pull-request
568574 permissions :
569575 actions : read
570576 contents : read
571577 id-token : write
572578 packages : read
573579 pull-requests : read
574- secrets : inherit # zizmor: ignore[secrets-inherit]
575- uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
576580 strategy :
577581 fail-fast : false
578582 matrix : ${{ fromJSON(needs.rocky8-clib-standalone-build-matrix.outputs.matrix) }}
579- with :
580- build_type : pull-request
581- build-datetime : ${{ needs.build-details.outputs.build-datetime }}
582- arch : " ${{matrix.arch}}"
583- date : ${{ inputs.date }}_c
584- container_image : " rapidsai/ci-wheel:26.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
585- node_type : " cpu16"
586- requires_license_builder : true
587- script : " ci/build_standalone_c.sh --build-tests"
588- artifact-name : " libcuvs_c_${{ matrix.CUDA_VER }}_${{ matrix.ARCH }}.tar.gz"
589- file_to_upload : " libcuvs_c.tar.gz"
590- sha : ${{ inputs.sha }}
583+ steps :
584+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
585+ with :
586+ ref : ${{ inputs.sha || github.sha }}
587+ fetch-depth : 0
588+ persist-credentials : false
589+ - uses : aws-actions/configure-aws-credentials@cbe3b392738ccf3f987d68400dafcf4b0624a56c # v6.2.4
590+ with :
591+ role-to-assume : ${{ vars.AWS_ROLE_ARN }}
592+ aws-region : ${{ vars.AWS_REGION }}
593+ role-duration-seconds : 10800
594+ - name : Setup sccache-dist
595+ uses : rapidsai/shared-actions/setup-sccache-dist@main
596+ with :
597+ request-timeout : 7140
598+ - name : Build standalone C tarball
599+ env :
600+ CUVS_TARBALL_CUDA_VERSION : ${{ matrix.CUDA_VER }}
601+ CUVS_TARBALL_PYTHON_VERSION : ${{ matrix.PY_VER }}
602+ run : |
603+ ./build.sh tarball --tarball-build-tests
604+ - name : Upload artifacts
605+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
606+ with :
607+ name : libcuvs_c_${{ matrix.CUDA_VER }}_${{ matrix.ARCH }}.tar.gz
608+ path : libcuvs_c.tar.gz
591609 rocky8-clib-tests-matrix :
592610 needs : [rocky8-clib-standalone-build, changed-files]
593611 permissions :
@@ -651,6 +669,39 @@ jobs:
651669 script : " ci/test_java.sh"
652670 artifact-name : " cuvs-java-cuda${{ matrix.CUDA_VER }}"
653671 file_to_upload : " java/cuvs-java/target/"
672+ conda-java-tests-other-arch-matrix :
673+ # All architectures the C++ core builds for, except amd64.
674+ needs : [conda-cpp-build, changed-files]
675+ permissions :
676+ contents : read
677+ uses : rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@release/26.10
678+ if : fromJSON(needs.changed-files.outputs.changed_file_groups).test_java || fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
679+ with :
680+ build_type : pull-request
681+ matrix_name : conda-cpp-build
682+ matrix_filter : map(select(.ARCH != "amd64"))
683+ conda-java-tests-other-arch :
684+ # Verifies that the amd64-built cuvs-java jar (jextract-generated Panama bindings and
685+ # all) also works correctly on every non-amd64 architecture, by running its own IT test
686+ # suite against the amd64-built classes without recompiling -- see ci/test_java_prebuilt.sh.
687+ needs : [conda-java-tests-other-arch-matrix, conda-java-build-and-tests]
688+ permissions :
689+ actions : read
690+ contents : read
691+ id-token : write
692+ packages : read
693+ pull-requests : read
694+ secrets : inherit # zizmor: ignore[secrets-inherit]
695+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@release/26.10
696+ strategy :
697+ fail-fast : false
698+ matrix : ${{ fromJSON(needs.conda-java-tests-other-arch-matrix.outputs.matrix) }}
699+ with :
700+ build_type : pull-request
701+ node_type : " gpu-l4-latest-1"
702+ arch : " ${{ matrix.ARCH }}"
703+ container_image : " rapidsai/ci-conda:26.10-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
704+ script : " ci/test_java_prebuilt.sh ${{ matrix.ARCH }} cuvs-java-cuda${{ matrix.CUDA_VER }}"
654705 conda-lucene-build-and-tests :
655706 # Depends on the Java job for the cuvs-java artifact that cuvs-lucene builds against, and
656707 # reuses its matrix so the two always agree on the set of CUDA versions.
@@ -676,6 +727,29 @@ jobs:
676727 script : " ci/test_lucene.sh cuvs-java-cuda${{ matrix.CUDA_VER }}"
677728 artifact-name : " cuvs-lucene-cuda${{ matrix.CUDA_VER }}"
678729 file_to_upload : " java/cuvs-lucene/target/"
730+ conda-lucene-tests-other-arch :
731+ # Verifies that cuvs-lucene, built against the amd64-built cuvs-java jar, also works
732+ # correctly on every non-amd64 architecture, by running its test suite against the
733+ # amd64-built classes without recompiling -- see ci/test_lucene_prebuilt.sh. Reuses
734+ # conda-java-tests-other-arch-matrix so the two always agree on which architectures to test.
735+ needs : [conda-java-tests-other-arch-matrix, conda-java-build-and-tests, conda-lucene-build-and-tests]
736+ permissions :
737+ actions : read
738+ contents : read
739+ id-token : write
740+ packages : read
741+ pull-requests : read
742+ secrets : inherit # zizmor: ignore[secrets-inherit]
743+ uses : rapidsai/shared-workflows/.github/workflows/custom-job.yaml@release/26.10
744+ strategy :
745+ fail-fast : false
746+ matrix : ${{ fromJSON(needs.conda-java-tests-other-arch-matrix.outputs.matrix) }}
747+ with :
748+ build_type : pull-request
749+ node_type : " gpu-l4-latest-1"
750+ arch : " ${{ matrix.ARCH }}"
751+ container_image : " rapidsai/ci-conda:26.10-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
752+ script : " ci/test_lucene_prebuilt.sh ${{ matrix.ARCH }} cuvs-java-cuda${{ matrix.CUDA_VER }} cuvs-lucene-cuda${{ matrix.CUDA_VER }}"
679753 rust-build-matrix :
680754 needs : [conda-cpp-build, changed-files]
681755 permissions :
0 commit comments