File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 18
18
pull_request :
19
19
branches :
20
20
- ' **'
21
+ env :
22
+ CC : ccache gcc
23
+ CXX : ccache g++
21
24
jobs :
22
25
LINUX_X64 :
23
26
strategy :
39
42
uses : ./.github/actions/setup-oracle
40
43
- name : apt
41
44
uses : ./.github/actions/apt-x64
45
+ - name : ccache
46
+ uses :
hendrikmuhs/[email protected]
47
+ with :
48
+ # This duplicates the "job.name" expression above because
49
+ # GitHub has no way to query the job name (github.job is the
50
+ # job id, not the job name)
51
+ key : " LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
42
52
- name : ./configure
43
53
uses : ./.github/actions/configure-x64
44
54
with :
87
97
uses : actions/checkout@v3
88
98
- name : apt
89
99
uses : ./.github/actions/apt-x32
100
+ - name : ccache
101
+ uses :
hendrikmuhs/[email protected]
102
+ with :
103
+ key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
90
104
- name : ./configure
91
105
uses : ./.github/actions/configure-x32
92
106
with :
@@ -113,6 +127,10 @@ jobs:
113
127
uses : actions/checkout@v3
114
128
- name : brew
115
129
uses : ./.github/actions/brew
130
+ - name : ccache
131
+ uses :
hendrikmuhs/[email protected]
132
+ with :
133
+ key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
116
134
- name : ./configure
117
135
uses : ./.github/actions/configure-macos
118
136
with :
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ tmp-php.ini
285
285
# ------------------------------------------------------------------------------
286
286
/branch-commit-cache.json
287
287
/junit.out.xml
288
+ /.ccache /
288
289
289
290
# ------------------------------------------------------------------------------
290
291
# Special cases to invert previous ignore patterns
You can’t perform that action at this time.
0 commit comments