Skip to content

Commit e58fb58

Browse files
authored
CI: fix sccache timeout (#9095)
C++ jobs and sanitizer test jobs didn't have a flag and sccache would frequently error Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
1 parent bb4138d commit e58fb58

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/rust-instrumented.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
sccache: s3
6868
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
6969
- uses: ./.github/actions/setup-prebuild
70+
with:
71+
enable-sccache: "true"
7072
- name: Ensure llvm-tools are installed
7173
run: |
7274
rustup component add llvm-tools || \
@@ -186,6 +188,8 @@ jobs:
186188
sccache: s3
187189
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
188190
- uses: ./.github/actions/setup-prebuild
191+
with:
192+
enable-sccache: "true"
189193
- name: Install Rust nightly toolchain
190194
run: |
191195
rustup toolchain install $NIGHTLY_TOOLCHAIN
@@ -253,6 +257,8 @@ jobs:
253257
sccache: s3
254258
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
255259
- uses: ./.github/actions/setup-prebuild
260+
with:
261+
enable-sccache: "true"
256262
- name: Install Rust nightly toolchain
257263
run: |
258264
rustup toolchain install $NIGHTLY_TOOLCHAIN
@@ -303,6 +309,8 @@ jobs:
303309
sccache: s3
304310
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
305311
- uses: ./.github/actions/setup-prebuild
312+
with:
313+
enable-sccache: "true"
306314
- name: Install nightly with miri
307315
run: rustup toolchain install $NIGHTLY_TOOLCHAIN --component rust-src,rustfmt,clippy,miri
308316
- name: Run Miri

0 commit comments

Comments
 (0)