File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 18
18
- name : Set Up Cache
19
19
uses : actions/cache@v4
20
20
with :
21
- path : /Users/runner /Library/Caches/ccache
21
+ path : ~ /Library/Caches/ccache
22
22
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
23
23
restore-keys : |
24
24
ccache-${{ github.workflow }}-${{ github.job }}-git-
31
31
run : |
32
32
export CCACHE_COMPRESS=1
33
33
export CCACHE_COMPRESSLEVEL=10
34
- export CCACHE_MAXSIZE=30M
34
+ export CCACHE_MAXSIZE=50M
35
+ export CCACHE_SLOPPINESS=time_macros
35
36
ccache -z
37
+ ccache --version
36
38
37
39
cmake -S . -B build \
38
40
-DBUILD_SHARED_LIBS=ON \
46
48
47
49
ctest --test-dir build --output-on-failure
48
50
51
+ du -hs ~/Library/Caches/ccache
49
52
ccache -s
50
53
51
54
# Build libamrex and all tests
59
62
- name : Set Up Cache
60
63
uses : actions/cache@v4
61
64
with :
62
- path : /Users/runner /Library/Caches/ccache
65
+ path : ~ /Library/Caches/ccache
63
66
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
64
67
restore-keys : |
65
68
ccache-${{ github.workflow }}-${{ github.job }}-git-
71
74
export CCACHE_COMPRESS=1
72
75
export CCACHE_COMPRESSLEVEL=10
73
76
export CCACHE_MAXSIZE=160M
77
+ export CCACHE_SLOPPINESS=time_macros
74
78
ccache -z
79
+ ccache --version
75
80
76
81
cmake -S . -B build \
77
82
-DCMAKE_BUILD_TYPE=Debug \
84
89
85
90
ctest --test-dir build --output-on-failure
86
91
92
+ du -hs ~/Library/Caches/ccache
87
93
ccache -s
88
94
89
95
save_pr_number :
You can’t perform that action at this time.
0 commit comments