File tree 5 files changed +39
-6
lines changed
5 files changed +39
-6
lines changed Original file line number Diff line number Diff line change 40
40
coverage-linux-without-intl :
41
41
if : github.event.pull_request.draft == false
42
42
runs-on : ubuntu-latest
43
+ env :
44
+ CC : sccache gcc
45
+ CXX : sccache g++
46
+ SCCACHE_GHA_ENABLED : ' true'
43
47
steps :
44
48
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
45
49
with :
48
52
uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
49
53
with :
50
54
python-version : ${{ env.PYTHON_VERSION }}
55
+ - name : Set up sccache
56
+ uses : mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
57
+ with :
58
+ version : v0.8.0
51
59
- name : Environment Information
52
60
run : npx envinfo
53
61
- name : Install gcovr
Original file line number Diff line number Diff line change 40
40
coverage-linux :
41
41
if : github.event.pull_request.draft == false
42
42
runs-on : ubuntu-latest
43
+ env :
44
+ CC : sccache gcc
45
+ CXX : sccache g++
46
+ SCCACHE_GHA_ENABLED : ' true'
43
47
steps :
44
48
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
45
49
with :
48
52
uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
49
53
with :
50
54
python-version : ${{ env.PYTHON_VERSION }}
55
+ - name : Set up sccache
56
+ uses : mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
57
+ with :
58
+ version : v0.8.0
51
59
- name : Environment Information
52
60
run : npx envinfo
53
61
- name : Install gcovr
Original file line number Diff line number Diff line change @@ -41,10 +41,11 @@ jobs:
41
41
if : github.event.pull_request.draft == false
42
42
runs-on : ubuntu-20.04
43
43
env :
44
- CC : clang
45
- CXX : clang++
46
- LINK : clang++
44
+ CC : sccache clang
45
+ CXX : sccache clang++
46
+ LINK : sccache clang++
47
47
CONFIG_FLAGS : --enable-asan
48
+ SCCACHE_GHA_ENABLED : ' true'
48
49
steps :
49
50
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
50
51
with :
53
54
uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
54
55
with :
55
56
python-version : ${{ env.PYTHON_VERSION }}
57
+ - name : Set up sccache
58
+ uses : mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
59
+ with :
60
+ version : v0.8.0
56
61
- name : Environment Information
57
62
run : npx envinfo
58
63
- name : Build
Original file line number Diff line number Diff line change 39
39
test-macOS :
40
40
if : github.event.pull_request.draft == false
41
41
runs-on : macos-14
42
+ env :
43
+ CC : sccache gcc
44
+ CXX : sccache g++
45
+ SCCACHE_GHA_ENABLED : ' true'
42
46
steps :
43
47
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
44
48
with :
47
51
uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
48
52
with :
49
53
python-version : ${{ env.PYTHON_VERSION }}
54
+ - name : Set up sccache
55
+ uses : mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
56
+ with :
57
+ version : v0.8.0
50
58
- name : Environment Information
51
59
run : npx envinfo
52
60
# The `npm ci` for this step fails a lot as part of the Test step. Run it
Original file line number Diff line number Diff line change 40
40
if : false # Temporary disabled. Reference: https://github.com/nodejs/node/pull/52293#issuecomment-2059270585
41
41
runs-on : ubuntu-latest
42
42
env :
43
- CC : gcc
44
- CXX : g++
45
- LINK : g++
43
+ CC : sccache gcc
44
+ CXX : sccache g++
45
+ LINK : sccache g++
46
46
CONFIG_FLAGS : --enable-ubsan
47
47
steps :
48
48
- uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
55
55
uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
56
56
with :
57
57
python-version : ${{ env.PYTHON_VERSION }}
58
+ - name : Set up sccache
59
+ uses : mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
60
+ with :
61
+ version : v0.8.0
58
62
- name : Environment Information
59
63
run : npx envinfo
60
64
- name : Build
You can’t perform that action at this time.
0 commit comments