@@ -44,16 +44,22 @@ jobs:
4444 if : ${{ vars.TELEMETRY_ENABLED == 'true' }}
4545 uses : rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main
4646 check-nightly-ci :
47- needs : telemetry-setup
4847 runs-on : ubuntu-latest
48+ permissions :
49+ actions : read
50+ id-token : write
4951 env :
50- RAPIDS_GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GH_TOKEN : ${{ github.token }}
5153 steps :
54+ - name : Get PR Info
55+ id : get-pr-info
56+ uses : nv-gha-runners/get-pr-info@main
5257 - name : Check if nightly CI is passing
5358 uses : rapidsai/shared-actions/check_nightly_success/dispatch@main
5459 with :
55- repo : cuvs
56- max_days_without_success : 30
60+ repo : ${{ github.repository }}
61+ target-branch : ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
62+ max-days-without-success : 30
5763 changed-files :
5864 needs : telemetry-setup
5965 secrets : inherit
@@ -321,7 +327,6 @@ jobs:
321327 build_type : pull-request
322328 node_type : cpu16
323329 script : ci/build_cpp.sh
324- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
325330 conda-cpp-tests :
326331 needs : [conda-cpp-build, changed-files]
327332 secrets : inherit
@@ -330,7 +335,6 @@ jobs:
330335 with :
331336 build_type : pull-request
332337 script : ci/test_cpp.sh
333- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
334338 conda-cpp-checks :
335339 needs : conda-cpp-build
336340 secrets : inherit
@@ -345,6 +349,8 @@ jobs:
345349 with :
346350 build_type : pull-request
347351 script : ci/build_python.sh
352+ # Build a conda package for each CUDA x ARCH x minimum supported Python version
353+ matrix_filter : group_by({CUDA_VER, ARCH}) | map(min_by(.PY_VER | split(".") | map(tonumber)))
348354 conda-python-tests :
349355 needs : [conda-python-build, changed-files]
350356 secrets : inherit
@@ -353,7 +359,6 @@ jobs:
353359 with :
354360 build_type : pull-request
355361 script : ci/test_python.sh
356- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
357362 rocky8-clib-standalone-build :
358363 needs : [checks]
359364 secrets : inherit
@@ -378,7 +383,6 @@ jobs:
378383 artifact-name : " libcuvs_c_${{ matrix.cuda_version }}_${{ matrix.arch }}.tar.gz"
379384 file_to_upload : " libcuvs_c.tar.gz"
380385 sha : ${{ inputs.sha }}
381- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
382386 rocky8-clib-tests :
383387 needs : [rocky8-clib-standalone-build, changed-files]
384388 secrets : inherit
@@ -422,7 +426,6 @@ jobs:
422426 script : " ci/test_java.sh"
423427 artifact-name : " cuvs-java-cuda${{ matrix.cuda_version }}"
424428 file_to_upload : " java/cuvs-java/target/"
425- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
426429 rust-build :
427430 needs : [conda-cpp-build, changed-files]
428431 secrets : inherit
@@ -442,7 +445,6 @@ jobs:
442445 arch : " amd64"
443446 container_image : " rapidsai/ci-conda:26.04-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13"
444447 script : " ci/build_rust.sh"
445- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
446448 go-build :
447449 needs : [conda-cpp-build, changed-files]
448450 secrets : inherit
@@ -484,7 +486,6 @@ jobs:
484486 matrix_filter : group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
485487 package-name : libcuvs
486488 package-type : cpp
487- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
488489 wheel-build-cuvs :
489490 needs : wheel-build-libcuvs
490491 secrets : inherit
@@ -495,7 +496,8 @@ jobs:
495496 script : ci/build_wheel_cuvs.sh
496497 package-name : cuvs
497498 package-type : python
498- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
499+ # Build a wheel for each CUDA x ARCH x minimum supported Python version
500+ matrix_filter : group_by({CUDA_VER, ARCH}) | map(min_by(.PY_VER | split(".") | map(tonumber)))
499501 wheel-tests-cuvs :
500502 needs : [wheel-build-cuvs, changed-files]
501503 secrets : inherit
@@ -504,7 +506,6 @@ jobs:
504506 with :
505507 build_type : pull-request
506508 script : ci/test_wheel_cuvs.sh
507- sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
508509 devcontainer :
509510 secrets : inherit
510511 needs : telemetry-setup
@@ -513,12 +514,10 @@ jobs:
513514 arch : ' ["amd64", "arm64"]'
514515 cuda : ' ["13.1"]'
515516 node_type : " cpu8"
516- rapids-aux-secret-1 : GIST_REPO_READ_ORG_GITHUB_TOKEN
517517 env : |
518518 SCCACHE_DIST_MAX_RETRIES=inf
519519 SCCACHE_SERVER_LOG=sccache=debug
520520 SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
521- SCCACHE_DIST_AUTH_TOKEN_VAR=RAPIDS_AUX_SECRET_1
522521 build_command : |
523522 sccache --zero-stats;
524523 build-all -j0 --verbose 2>&1 | tee telemetry-artifacts/build.log;
0 commit comments