[php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Shivam Mathur | Date: | Sun, 18 Oct 2026 15:17:02 +0000 |
| Subject: | [php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142402@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2026-10-18T20:46:14+05:30
Commit: https://github.com/php/php-src/commit/37e3789a9ad37289cfa7474a4afdd1064de51e56
Raw diff: https://github.com/php/php-src/commit/37e3789a9ad37289cfa7474a4afdd1064de51e56.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
Fix macOS CI (#24409)
Changed paths:
M .github/actions/brew/action.yml
M .github/matrix.php
M .github/workflows/test-suite.yml
Diff:
diff --git a/.github/actions/brew/action.yml b/.github/actions/brew/action.yml
index e4458b064195..29fd71cc13d3 100644
--- a/.github/actions/brew/action.yml
+++ b/.github/actions/brew/action.yml
@@ -6,6 +6,8 @@ runs:
run: |
set -x
+ brew update
+
# Patch brew to overwrite always
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
code=" keg.link\(verbose: verbose\?"
diff --git a/.github/matrix.php b/.github/matrix.php
index 58edba024c96..f3fb1fa7f031 100644
--- a/.github/matrix.php
+++ b/.github/matrix.php
@@ -125,10 +125,9 @@ function select_jobs($repository, $trigger, $nightly, $labels, $php_version,
$re
: ['debug' => [true], 'zts' => [true]];
}
if ($all_jobs || !$no_jobs || $test_macos) {
- $test_arm = version_compare($php_version, '8.4', '>=');
$jobs['MACOS']['matrix'] = $all_variations
- ? ['arch' => $test_arm ? ['X64', 'ARM64'] :
['X64'], 'debug' => [true, false], 'zts' => [true, false]]
- : ['include' => [['arch' => $test_arm ? 'ARM64' :
'X64', 'debug' => true, 'zts' => false]]];
+ ? ['arch' => ['ARM64'], 'debug' => [true, false],
'zts' => [true, false]]
+ : ['include' => [['arch' => 'ARM64',
'debug' => true, 'zts' => false]]];
$jobs['MACOS']['config']['version'] =
version_compare($php_version, '8.4', '>=') ? '26' : '15';
}
if ($all_jobs || $test_msan) {
diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml
index 89a5cdb04566..a9bb570f9212 100644
--- a/.github/workflows/test-suite.yml
+++ b/.github/workflows/test-suite.yml
@@ -312,7 +312,7 @@ jobs:
fail-fast: false
matrix: ${{ fromJson(inputs.branch).jobs.MACOS.matrix }}
name: "MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' ||
'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
- runs-on: macos-${{ fromJson(inputs.branch).jobs.MACOS.config.version }}${{ matrix.arch ==
'X64' && '-intel' || '' }}
+ runs-on: macos-${{ fromJson(inputs.branch).jobs.MACOS.config.version }}
timeout-minutes: 180
steps:
- name: git checkout
@@ -345,18 +345,18 @@ jobs:
if: ${{ inputs.all_variations }}
uses: ./.github/actions/test-macos
- name: Test Tracing JIT
- if: ${{ matrix.arch == 'X64' || !matrix.zts }}
+ if: ${{ !matrix.zts }}
uses: ./.github/actions/test-macos
with:
enableOpcache: true
jitType: tracing
- name: Test OpCache
- if: ${{ inputs.all_variations || (matrix.arch == 'ARM64' && matrix.zts)
}}
+ if: ${{ inputs.all_variations || matrix.zts }}
uses: ./.github/actions/test-macos
with:
enableOpcache: true
- name: Test Function JIT
- if: ${{ inputs.all_variations && (matrix.arch == 'X64' || !matrix.zts) }}
+ if: ${{ inputs.all_variations && !matrix.zts }}
uses: ./.github/actions/test-macos
with:
enableOpcache: true