Skip to content

Commit 8ff572d

Browse files
committed
Disable sccache setup
1 parent 9fca728 commit 8ff572d

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/premerge.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,21 @@ jobs:
7676
export CC=/opt/llvm/bin/clang
7777
export CXX=/opt/llvm/bin/clang++
7878
79-
# This environment variable is passes into the container through the
80-
# runner pod definition. This differs between our two clusters which
81-
# why we do not hardcode it.
82-
export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET
83-
export SCCACHE_GCS_RW_MODE=READ_WRITE
84-
85-
# Set the idle timeout to zero to ensure sccache runs for the
86-
# entire duration of the job. Otherwise it might stop if we run
87-
# several test suites in a row and discard statistics that we want
88-
# to save in the end.
89-
export SCCACHE_IDLE_TIMEOUT=0
90-
sccache --start-server
79+
if ! [[ "${{ matrix.runs_on }}" =~ "^depot" ]; then
80+
81+
# This environment variable is passes into the container through the
82+
# runner pod definition. This differs between our two clusters which
83+
# why we do not hardcode it.
84+
export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET
85+
export SCCACHE_GCS_RW_MODE=READ_WRITE
86+
87+
# Set the idle timeout to zero to ensure sccache runs for the
88+
# entire duration of the job. Otherwise it might stop if we run
89+
# several test suites in a row and discard statistics that we want
90+
# to save in the end.
91+
export SCCACHE_IDLE_TIMEOUT=0
92+
sccache --start-server
93+
fi
9194
9295
./.ci/monolithic-linux.sh "${projects_to_build}" "${project_check_targets}" "${runtimes_to_build}" "${runtimes_check_targets}" "${runtimes_check_targets_needs_reconfig}" "${enable_cir}"
9396
- name: Upload Artifacts

0 commit comments

Comments
 (0)