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

858 Commits

Author SHA1 Message Date
Ilija Tovilo
69b455c89e Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Use default branch for symfony/laravel when possible
  Fix Laravel build for PHP 8.2
2026-03-20 14:50:02 +01:00
Ilija Tovilo
d1c39a5bd9 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Use default branch for symfony/laravel when possible
  Fix Laravel build for PHP 8.2
2026-03-20 14:49:54 +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
94853b6da3 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Backport .github changes for Solaris
2026-03-04 10:11:17 +01:00
Ilija Tovilo
eee7c0aee1 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Backport .github changes for Solaris
2026-03-04 10:11:11 +01:00
Ilija Tovilo
c21af8c598 Backport .github changes for Solaris 2026-03-04 10:11:00 +01:00
Ilija Tovilo
2fb1411eac Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:32 +01:00
Ilija Tovilo
70bb94c4b6 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:25 +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
e78f0d149e Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [skip ci] Reorder lines
2026-03-02 03:38:21 +01:00
Ilija Tovilo
491bf86b09 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Reorder lines
2026-03-02 03:38:17 +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
1553242e56 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [CI][skip ci] Fix TEST job failure when no branches changed
2026-03-02 03:35:34 +01:00
Ilija Tovilo
ecb226c049 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [CI][skip ci] Fix TEST job failure when no branches changed
2026-03-02 03:35:29 +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
6f91209260 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:05:14 +01:00
Ilija Tovilo
c6ad84fb9e Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Add RUN_RESOURCE_HEAVY_TESTS env var
2026-02-27 15:04:24 +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
e027c66f1f Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Make one linux job run function jit on push
2026-02-27 14:21:10 +01:00
Ilija Tovilo
49c3bee95f Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Make one linux job run function jit on push
2026-02-27 14:20:32 +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
14427ac18d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [CI][skip ci] Fix benchmarking summary
2026-02-27 13:59:04 +01:00
Ilija Tovilo
26a2e3624f Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [CI][skip ci] Fix benchmarking summary
2026-02-27 13:58:53 +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
b003f5f147 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix benchmarking head sha
  Fix ccache for alpine and msan
  Fix coverage label job selection
  Fix ccache for coverage and pecl builds
2026-02-24 12:58:51 +01:00
Ilija Tovilo
90d604e2c4 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix benchmarking head sha
  Fix ccache for alpine and msan
  Fix coverage label job selection
  Fix ccache for coverage and pecl builds
2026-02-24 12:58:44 +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
70b2761d98 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [CI] Fix ineffective ccache
2026-02-20 17:46:36 +01:00
Ilija Tovilo
c3734bd298 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [CI] Fix ineffective ccache
2026-02-20 17:46:31 +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
fcb55f8c06 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix nightly ref name
2026-02-19 11:49:15 +01:00
Ilija Tovilo
60e035c7db Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix nightly ref name
2026-02-19 11:49:07 +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
6ff7fa5b0d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [skip ci] Rename PUSH job to TEST
2026-02-19 00:57:31 +01:00
Ilija Tovilo
5c0989dbcd Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Rename PUSH job to TEST
2026-02-19 00:57:24 +01:00
Ilija Tovilo
10b1da00d0 [skip ci] Rename PUSH job to TEST 2026-02-19 00:57:08 +01:00
Ilija Tovilo
dc4b8ba0e3 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [skip ci] Sigh, fix "" -> '' in GHA syntax
2026-02-18 23:20:16 +01:00
Ilija Tovilo
2757b7042f Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Sigh, fix "" -> '' in GHA syntax
2026-02-18 23:20:13 +01:00
Ilija Tovilo
3671c6dea7 [skip ci] Sigh, fix "" -> '' in GHA syntax 2026-02-18 23:19:59 +01:00
Ilija Tovilo
6b7bff052c Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  [skip ci][CI] Fix || on 0 value, being treated as falsy
2026-02-18 23:15:03 +01:00
Ilija Tovilo
ecb299c501 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci][CI] Fix || on 0 value, being treated as falsy
2026-02-18 23:14:58 +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
085f139427 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Rename nightly_matrix.php to matrix.php
2026-02-18 19:52:02 +01:00
Ilija Tovilo
f06de7c79a Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Rename nightly_matrix.php to matrix.php
2026-02-18 19:51:53 +01:00
Ilija Tovilo
37528afdad Rename nightly_matrix.php to matrix.php 2026-02-18 19:49:42 +01:00
Ilija Tovilo
873095d7df Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Adjust nightly-results.yml for test.yml
  Improve displayed workflow_call name
  Combine push.yml and root.yml into test.yml
  Rename push.yml to test.yml
  Rename nightly.yml to test-suite.yml
2026-02-18 19:44:39 +01:00