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