[php-src] master: Merge branch 'PHP-8.3' into PHP-8.4

Arnaud Le Blanc <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Arnaud Le Blanc (arnaud-lb)
Date: 2026-08-10T19:05:48+02:00

Commit: https://github.com/php/php-src/commit/222dc2d0303b28e8454196c94c67bf9be79c3533
Raw diff: https://github.com/php/php-src/commit/222dc2d0303b28e8454196c94c67bf9be79c3533.diff

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
  CI: Select Windows test workers automatically (#22946)

Changed paths:
  M  .github/matrix.php
  M  .github/workflows/test-suite.yml


Diff:

diff --git a/.github/matrix.php b/.github/matrix.php
index 7970442d7050..88e505d1f1eb 100644
--- a/.github/matrix.php
+++ b/.github/matrix.php
@@ -187,6 +187,7 @@ function select_jobs($repository, $trigger, $nightly, $labels, $php_version, $re
 foreach ($branches as &$branch) {
     $php_version = $branch['version'][0] . '.' . $branch['version'][1];
     $branch['jobs'] = select_jobs($repository, $trigger, $nightly, $labels, $php_version, $branch['ref'], $all_variations);
+    $branch['config']['default_run_test_jobs'] = version_compare($php_version, '8.6', '>=') ? '' : '-j2';
     $branch['config']['ubuntu_version'] = version_compare($php_version, '8.5', '>=') ? '24.04' : '22.04';
 }
 
diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml
index c2b076059bc0..2046a3d816c8 100644
--- a/.github/workflows/test-suite.yml
+++ b/.github/workflows/test-suite.yml
@@ -857,7 +857,7 @@ jobs:
       PLATFORM: ${{ matrix.x64 && 'x64' || 'x86' }}
       THREAD_SAFE: "${{ matrix.zts && '1' || '0' }}"
       INTRINSICS: "${{ matrix.zts && 'AVX2' || '' }}"
-      PARALLEL: -j2
+      PARALLEL: ${{ matrix.asan && '-j2' || fromJson(inputs.branch).config.default_run_test_jobs }}
       OPCACHE: "${{ matrix.opcache && '1' || '0' }}"
       ASAN: "${{ matrix.asan && '1' || '0' }}"
       CLANG_TOOLSET: "${{ matrix.clang && '1' || '0' }}"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.