1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

4 Commits

Author SHA1 Message Date
Ilija Tovilo
68d4ee357b Fix ccache for alpine and msan
Declare CC/CXX through the ccache action.

Closes GH-21286
2026-02-24 12:53:16 +01:00
Ilija Tovilo
c8cd3aeb1e Fix ccache for coverage and pecl builds
Coverage cannot use ccache as it is incompatible with gcov. Pecl clones PHP to
the ./php directory, rather than the cwd.

Closes GH-21285
2026-02-24 12:52:21 +01:00
Ilija Tovilo
7a4da1040b [CI] Fix ineffective ccache
Cache on GHA is immutable. For this reason, hendrikmuhs/ccache-action creates a
new cache entry for each push, each with an appended timestamp, which fills the
cache very quickly. In an attempt to fix this, we've disabled the
append-timestamp option and appended a hash of php_version.h. Hence, we'll only
get a new cache file once this file is touched.

However, since this file rarely ever updates for master, we're relying on an
extremely outdated cache. To fix this, append the current year+week to rebuild
the cache each week instead, as suggested by Tim. Also use major.minor.release
version instead of the has of php_version.h for readability.

Fixes GH-14154
Closes GH-21258
2026-02-20 17:45:57 +01:00
Ilija Tovilo
f7b58d3938 Unify push & nightly workflows
Also introduce label-based opt-in and opt-out mechanism for jobs.

Closes GH-21172
2026-02-17 17:48:11 +01:00