Skip to content

Commit c60000d

Browse files
committed
Add sccache to test stage
1 parent 605e497 commit c60000d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,16 @@ jobs:
536536
with:
537537
previous-artifact: ${{ (needs.prepare.outputs.multi-stage == 'false' && 'build-stage1') || 'build-stage3-all' }}
538538

539+
# Need sccache installed, because some stage1 objects are being built for the tests.
540+
# FIXME: This probably shouldn't be happening.
541+
- name: Setup sccache
542+
uses: hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9
543+
with:
544+
# Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
545+
max-size: 2G
546+
key: sccache-${{ runner.os }}-${{ runner.arch }}-release
547+
variant: sccache
548+
539549
- name: Run Tests
540550
shell: bash
541551
run: |

0 commit comments

Comments
 (0)