Skip to content

Commit c67c263

Browse files
committed
ci: ccache for alpine
1 parent 52e9436 commit c67c263

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,20 @@ jobs:
5151
echo "::group::Show installed package versions"
5252
apk list
5353
echo "::endgroup::"
54+
- name: ccache
55+
uses: hendrikmuhs/ccache-action@v1.2
56+
with:
57+
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
58+
append-timestamp: false
59+
save: ${{ github.event_name != 'pull_request' }}
5460
- name: ./configure
5561
uses: ./.github/actions/configure-alpine
5662
with:
5763
configurationParameters: >-
5864
CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC"
5965
LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function"
60-
CC=clang-20
61-
CXX=clang++-20
66+
CC="ccache clang-20"
67+
CXX="ccache clang++-20"
6268
--enable-debug
6369
--enable-zts
6470
skipSlow: true # FIXME: This should likely include slow extensions

0 commit comments

Comments
 (0)