File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ jobs:
131131 artifact-name : " cuvs-java-cuda${{ matrix.cuda_version }}"
132132 file_to_upload : " java/cuvs-java/target/"
133133 sha : ${{ inputs.sha }}
134+ sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
134135 python-build :
135136 needs : [cpp-build]
136137 secrets : inherit
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ jobs:
239239 script : " ci/test_java.sh"
240240 artifact-name : " cuvs-java-cuda${{ matrix.cuda_version }}"
241241 file_to_upload : " java/cuvs-java/target/"
242+ sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
242243 rust-build :
243244 needs : [conda-cpp-build, changed-files]
244245 secrets : inherit
Original file line number Diff line number Diff line change 7272 arch : " amd64"
7373 container_image : " rapidsai/ci-conda:25.12-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13"
7474 script : " ci/test_java.sh"
75+ sccache-dist-token-secret-name : GIST_REPO_READ_ORG_GITHUB_TOKEN
7576 wheel-tests-cuvs :
7677 secrets : inherit
7778 uses : rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@release/25.12
Original file line number Diff line number Diff line change 44
55set -euo pipefail
66
7+ source rapids-configure-sccache
8+
9+ export SCCACHE_S3_KEY_PREFIX=" cuvs-java/${RAPIDS_CONDA_ARCH} /cuda${RAPIDS_CUDA_VERSION%% .* } /maven/objects-cache"
10+ export SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX=" cuvs-java/${RAPIDS_CONDA_ARCH} /cuda${RAPIDS_CUDA_VERSION%% .* } /maven/preprocessor-cache"
11+ export SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE=true
12+
713# TODO: Remove this argument-handling when build and test workflows are separated,
814# and test_java.sh no longer calls build_java.sh
915# ref: https://github.com/rapidsai/cuvs/issues/868
@@ -49,5 +55,8 @@ export RAPIDS_CUDA_MAJOR
4955
5056bash ./build.sh java " ${EXTRA_BUILD_ARGS[@]} "
5157
58+ sccache --show-adv-stats
59+ sccache --stop-server > /dev/null 2>&1 || true
60+
5261rapids-logger " Test script exiting with value: $EXITCODE "
5362exit ${EXITCODE}
You can’t perform that action at this time.
0 commit comments