File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,19 @@ jobs:
49
49
- name : Install macOS dependencies
50
50
if : startsWith( matrix.os, 'macos' )
51
51
run : brew install zip ninja
52
-
53
- - name : Export GitHub Actions cache environment variables
54
- uses : actions/github-script@v7
55
- with :
56
- script : |
57
- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
58
- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
52
+
53
+ - name : Run sccache-cache
54
+ uses : mozilla-actions/sccache-action@main
59
55
60
56
- name : Build
61
57
id : build
62
58
env :
63
- VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
64
59
MSYSTEM : " "
60
+ SCCACHE_GHA_ENABLED : true
61
+ CMAKE_GENERATOR : Ninja
62
+ CMAKE_C_COMPILER_LAUNCHER : sccache
63
+ CMAKE_CXX_COMPILER_LAUNCHER : sccache
64
+ VCPKG_KEEP_ENV_VARS : CMAKE_C_COMPILER_LAUNCHER;CMAKE_CXX_COMPILER_LAUNCHER;CMAKE_GENERATOR
65
65
run : make build
66
66
67
67
- name : Report build failure
You can’t perform that action at this time.
0 commit comments