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

132594 Commits

Author SHA1 Message Date
Ilija Tovilo
0f544b0406 [skip ci] Fix CLEAN for phar_extract2.phpt
extract1/ is not created by this test, but by phar_extract.phpt, which can lead
to a very rare race condition.
2026-03-22 00:41:37 +01:00
Ilija Tovilo
272cf1fb2d Use default branch for symfony/laravel when possible
This way we don't have to keep bumping when new branches release, we just need
to pin to old versions when incompatibilities pop up.
2026-03-20 13:32:42 +01:00
Ilija Tovilo
183d2a617f Fix Laravel build for PHP 8.2
Laravel 13.x dropped support for PHP 8.2. Fall back to 12.x for 8.2.

Closes GH-21473
2026-03-20 13:14:43 +01:00
Ilija Tovilo
b8b5fb074d Fix expected output for bug52820.phpt
Newer versions of curl seem to omit the "Closing connection ..." message. Make
the entire line optional.
2026-03-19 13:15:57 +01:00
Jakub Zelenka
04023e5e72 Remove XFAIL for proc-idle-timeout.phpt 2026-03-07 13:11:37 +01:00
Jakub Zelenka
71a01794cc Add back FPM_RUN_RESOURCE_HEAVY_TESTS 2026-03-07 13:05:32 +01:00
Ilija Tovilo
3902f843f7 [skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
This test fails all the time. It should be improved.
2026-03-07 12:41:52 +01:00
Ilija Tovilo
c21af8c598 Backport .github changes for Solaris 2026-03-04 10:11:00 +01:00
Ilija Tovilo
7324cd7f21 Fix enabling of opcache in benchmark job in older branches
8.4 still needs a zend_extension=opcache.so in the ini file.

Closes GH-21332
2026-03-04 00:35:19 +01:00
Ilija Tovilo
e140485178 [skip ci] Reorder lines
Makes slightly more sense, even though order is irrelevant.
2026-03-02 03:37:46 +01:00
Ilija Tovilo
53c718c142 [CI][skip ci] Fix TEST job failure when no branches changed 2026-03-02 03:34:34 +01:00
Ilija Tovilo
3a57b4ced5 Add RUN_RESOURCE_HEAVY_TESTS env var
Disable resource-heavy tests by default (>1GB of memory usage), unless the
RUN_RESOURCE_HEAVY_TESTS env variable is set.

Fixes GH-20762
Closes GH-20935
2026-02-27 15:00:35 +01:00
Ilija Tovilo
a5a5e3acdd Make one linux job run function jit on push
We're currently only testing the tracing JIT on push. Having at least one
function JIT job will catch some errors earlier.

Closes GH-21294
2026-02-27 14:20:18 +01:00
Ilija Tovilo
b2d291546f [CI][skip ci] Fix benchmarking summary
Just compare against github.event.pull_request.base.sha. When GitHub creates
hidden merge commits, it doesn't make sense to compare against the base anyway.

Closes GH-21306
2026-02-27 13:58:17 +01:00
Ilija Tovilo
46073db990 Fix benchmarking head sha
See https://github.com/orgs/community/discussions/47804

Closes GH-21287
2026-02-24 12:53:33 +01:00
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
ee40ca3fe2 Fix coverage label job selection 2026-02-24 12:52:34 +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
636fd3453b Fix nightly ref name
git rev-parse fails with the long GH ref, but we need github.ref to check out
branches from PRs. Hence, use github.ref only for PRs, and the ref_name for
everything else.

Closes GH-21255
2026-02-19 11:48:24 +01:00
Ilija Tovilo
10b1da00d0 [skip ci] Rename PUSH job to TEST 2026-02-19 00:57:08 +01:00
Ilija Tovilo
3671c6dea7 [skip ci] Sigh, fix "" -> '' in GHA syntax 2026-02-18 23:19:59 +01:00
Ilija Tovilo
88bd45728a [skip ci][CI] Fix || on 0 value, being treated as falsy 2026-02-18 23:13:33 +01:00
Ilija Tovilo
37528afdad Rename nightly_matrix.php to matrix.php 2026-02-18 19:49:42 +01:00
Ilija Tovilo
be96ae607d Adjust nightly-results.yml for test.yml 2026-02-18 19:44:14 +01:00
Ilija Tovilo
cbb3ff0a5b Improve displayed workflow_call name
The ref is very long and makes things unreadable.
2026-02-18 19:44:14 +01:00
Ilija Tovilo
12148a5b49 Combine push.yml and root.yml into test.yml 2026-02-18 19:44:12 +01:00
Ilija Tovilo
dca6e5efd3 Rename push.yml to test.yml 2026-02-18 19:44:01 +01:00
Ilija Tovilo
bcbc9c2f00 Rename nightly.yml to test-suite.yml 2026-02-18 19:44:01 +01:00
Ilija Tovilo
9c8780dad0 [skip ci] Add missing benchmarking checkout ref 2026-02-18 16:53:16 +01:00
Ilija Tovilo
436000755b Move benchmarking job to nightly
Then we can unify root.yml and push.yml.

Closes GH-21249
2026-02-18 15:55:59 +01:00
Ilija Tovilo
39afa46f54 [skip ci] Disable redis in pecl build 2026-02-18 14:17:19 +01:00
Jorg Sowa
431dbabbfd [skip ci] Re-enabled xdebug in nightly job
Closes GH-21170
Closes GH-21248
2026-02-18 14:17:12 +01:00
Ilija Tovilo
220dcf9966 [skip ci] Limit "Update clang" step to 10 minutes
Just like brew this can stall, apparently...
2026-02-18 13:43:17 +01:00
Ilija Tovilo
cb4ea1d38a Fix nightly job selection
The schedule and workflow_dispatch triggers should imply all jobs.
2026-02-18 13:35:00 +01:00
Ilija Tovilo
a1de4ad543 Fix ccache in pecl job 2026-02-18 13:32:14 +01:00
Ilija Tovilo
2fd40628fc Fix test action with no opcache
I won't ever not get this wrong. -.-
2026-02-18 03:35:41 +01:00
Ilija Tovilo
5150641f9a Fix enabling of opcache in CI
Closes GH-21246
2026-02-18 01:56:32 +01:00
Ilija Tovilo
60718c7f43 Fix array_column() on null in nightly_matrix.php 2026-02-17 17:55:23 +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
Ilija Tovilo
4be0d5ecef [skip ci] Sync nightly.yml with master 2026-02-17 17:34:02 +01:00
Ilija Tovilo
10aadd635b Disable pkg cache for FreeBSD jobs
These caches can get massive and evict more useful cache, like ccache.

Closes GH-21179
2026-02-10 01:16:23 +01:00
武田 憲太郎
2a3e970d4c [CI] Use MySQL LTS version
Update the MySQL version used in CI from 8.3 to 8.4, the current MySQL LTS
release. CI has been using MySQL 8.3 due to a MySQL-side bug that caused test
failures (see GH-14112, GH-14113, GH-14120). That issue has now been fixed
upstream in MySQL 8.4.8.

References:

* MySQL 8.4.8 release notes (pluggable authentication fix):
  https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-8.html#mysqld-8-4-8-pluggable-auth
* MySQL bug tracker:
  https://bugs.mysql.com/bug.php?id=114876#c555902
* Docker image availability:
  https://hub.docker.com/_/mysql/tags?name=8.4

Closes GH-21154
2026-02-08 16:54:00 +01:00
Ilija Tovilo
8b47ae8342 Make brew verbose, limit to 10 minutes
This step regularly locks up. Maybe --verbose will provide some insight. Also
limit the step to 10 minutes to avoid holding up resources.
2026-02-03 13:40:41 +01:00
Daniel Scherzer
2b49403378 GitHub actions: drop more 8.1 CI configuration (#20763)
* remove `libmysqlclient_with_mysqli` support from nightly workflow
* remove `libmysqlclient_with_mysqli` support from root workflow
* remove `withMysqli` support from `build-libmysqlclient` action
* remove `withMysqli` support from `test-libmysqlclient` action
* in root workflow, drop code checking for PHP 8.1

[skip ci]
2026-01-27 02:04:47 -08:00
Ilija Tovilo
648ad5be31 [skip ci] Upgrade to Ubuntu 24.04 for PECL and coverage builds 2026-01-13 16:10:35 +01:00
Niels Dossche
636f84adcf Fix bug52820 test for new libcurl release
Reference: GH-20910.
2026-01-12 18:47:33 +01:00
Ilija Tovilo
4f25ea88f0 [skip ci] Mark bug69442.phpt (PTY test) as flaky
See GH-20864
2026-01-08 12:26:20 +01:00
Ben Ramsey
8c303713f1 Merge branch 'PHP-8.1' into PHP-8.2 2025-12-31 17:03:58 -06:00
Ben Ramsey
6f82565f12 PHP 8.1 is now end-of-life 2025-12-31 16:58:52 -06:00