Skip to content

Commit ea386d3

Browse files
authored
ci: enable ccache on all CI builds (#5063)
Fixes #4783, by using ccache during the full builds with cmake. #4869 was already submitted, which enabled a bazel cache for all CI builds.
1 parent 8b6496d commit ea386d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ci/kokoro/cache-functions.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ cache_download_enabled() {
2323
return 1
2424
fi
2525

26-
if [[ "${RUNNING_CI:-}" != "yes" || (\
27-
"${KOKORO_JOB_TYPE:-}" != "PRESUBMIT_GERRIT_ON_BORG" && \
28-
"${KOKORO_JOB_TYPE:-}" != "PRESUBMIT_GITHUB") ]]; then
26+
if [[ "${RUNNING_CI:-}" != "yes" ]]; then
2927
echo "================================================================"
30-
io::log "Cache not downloaded as this is not a PR build."
28+
io::log "Cache not downloaded as this is not a CI build."
3129
return 1
3230
fi
3331
return 0

0 commit comments

Comments
 (0)