Skip to content

Commit ce7a751

Browse files
committed
tools: use sccache GitHub action
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: #52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 18c530f commit ce7a751

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-linux.yml

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
test-linux:
3434
if: github.event.pull_request.draft == false
3535
runs-on: ubuntu-latest
36+
env:
37+
CC: sccache gcc
38+
CXX: sccache g++
39+
SCCACHE_GHA_ENABLED: 'true'
3640
steps:
3741
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
3842
with:
@@ -41,6 +45,10 @@ jobs:
4145
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4246
with:
4347
python-version: ${{ env.PYTHON_VERSION }}
48+
- name: Set up sccache
49+
uses: mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
50+
with:
51+
version: v0.8.0
4452
- name: Environment Information
4553
run: npx envinfo
4654
- name: Build

0 commit comments

Comments
 (0)