File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 20
20
- ' **'
21
21
permissions :
22
22
contents : read
23
+ env :
24
+ CC : ccache gcc
25
+ CXX : ccache g++
23
26
jobs :
24
27
LINUX_X64 :
25
28
strategy :
41
44
uses : ./.github/actions/setup-oracle
42
45
- name : apt
43
46
uses : ./.github/actions/apt-x64
47
+ - name : ccache
48
+ uses : hendrikmuhs/ccache-action@v1.2
49
+ with :
50
+ key : " ${{ github.workflow }}-${{ github.job }}-${{ toJSON(matrix) }}-${{ hashFiles('main/php_version.h') }}"
44
51
- name : ./configure
45
52
uses : ./.github/actions/configure-x64
46
53
with :
89
96
uses : actions/checkout@v3
90
97
- name : apt
91
98
uses : ./.github/actions/apt-x32
99
+ - name : ccache
100
+ uses : hendrikmuhs/ccache-action@v1.2
101
+ with :
102
+ key : " ${{ github.workflow }}-${{ github.job }}-${{ hashFiles('main/php_version.h' )}}"
92
103
- name : ./configure
93
104
uses : ./.github/actions/configure-x32
94
105
with :
@@ -115,6 +126,10 @@ jobs:
115
126
uses : actions/checkout@v3
116
127
- name : brew
117
128
uses : ./.github/actions/brew
129
+ - name : ccache
130
+ uses : hendrikmuhs/ccache-action@v1.2
131
+ with :
132
+ key : " ${{ github.workflow }}-${{ github.job }}-${{ hashFiles('main/php_version.h' )}}"
118
133
- name : ./configure
119
134
uses : ./.github/actions/configure-macos
120
135
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