Skip to content

Commit 8dbd0f1

Browse files
aduh95targos
authored andcommitted
tools: add sccache to test-internet workflow
PR-URL: #59720 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 34d7525 commit 8dbd0f1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test-internet.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ concurrency:
3333
env:
3434
PYTHON_VERSION: '3.12'
3535
FLAKY_TESTS: keep_retrying
36-
CC: clang
37-
CXX: clang++
36+
CC: sccache clang
37+
CXX: sccache clang++
38+
SCCACHE_GHA_ENABLED: 'true'
3839

3940
permissions:
4041
contents: read
@@ -51,6 +52,10 @@ jobs:
5152
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5253
with:
5354
python-version: ${{ env.PYTHON_VERSION }}
55+
- name: Set up sccache
56+
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
57+
with:
58+
version: v0.10.0
5459
- name: Environment Information
5560
run: npx envinfo
5661
- name: Build

0 commit comments

Comments
 (0)