From c67c263ac3fb8ce3c5a699f67900a8d103962217 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Sat, 7 Feb 2026 03:07:34 +0100 Subject: [PATCH] ci: ccache for alpine --- .github/workflows/push.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ab917b518e1a6..b0cd60e62cc93 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -51,14 +51,20 @@ jobs: echo "::group::Show installed package versions" apk list echo "::endgroup::" + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + key: "${{github.job}}-${{hashFiles('main/php_version.h')}}" + append-timestamp: false + save: ${{ github.event_name != 'pull_request' }} - name: ./configure uses: ./.github/actions/configure-alpine with: configurationParameters: >- CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function" - CC=clang-20 - CXX=clang++-20 + CC="ccache clang-20" + CXX="ccache clang++-20" --enable-debug --enable-zts skipSlow: true # FIXME: This should likely include slow extensions