mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Reduce parallelism on frequently crashing jobs
This commit is contained in:
commit
de0cef4a09
3 changed files with 6 additions and 2 deletions
5
.github/actions/test-linux/action.yml
vendored
5
.github/actions/test-linux/action.yml
vendored
|
@ -9,6 +9,9 @@ inputs:
|
||||||
jitType:
|
jitType:
|
||||||
default: 'disable'
|
default: 'disable'
|
||||||
required: false
|
required: false
|
||||||
|
idleCpu:
|
||||||
|
default: 'false'
|
||||||
|
required: false
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
@ -45,7 +48,7 @@ runs:
|
||||||
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
||||||
-d opcache.jit=${{ inputs.jitType }} \
|
-d opcache.jit=${{ inputs.jitType }} \
|
||||||
-d opcache.jit_buffer_size=16M \
|
-d opcache.jit_buffer_size=16M \
|
||||||
-j$(/usr/bin/nproc) \
|
${{ inputs.idleCpu == 'true' && '-j$(($(/usr/bin/nproc) - 1))' || '-j$(/usr/bin/nproc)' }} \
|
||||||
-g FAIL,BORK,LEAK,XLEAK \
|
-g FAIL,BORK,LEAK,XLEAK \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
--offline \
|
--offline \
|
||||||
|
|
2
.github/actions/test-macos/action.yml
vendored
2
.github/actions/test-macos/action.yml
vendored
|
@ -22,7 +22,7 @@ runs:
|
||||||
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
||||||
-d opcache.jit=${{ inputs.jitType }} \
|
-d opcache.jit=${{ inputs.jitType }} \
|
||||||
-d opcache.jit_buffer_size=16M \
|
-d opcache.jit_buffer_size=16M \
|
||||||
-j$(sysctl -n hw.ncpu) \
|
-j$(($(sysctl -n hw.ncpu) - 1)) \
|
||||||
-g FAIL,BORK,LEAK,XLEAK \
|
-g FAIL,BORK,LEAK,XLEAK \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
--offline \
|
--offline \
|
||||||
|
|
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
|
@ -109,6 +109,7 @@ jobs:
|
||||||
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
|
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
|
||||||
runTestsParameters: >-
|
runTestsParameters: >-
|
||||||
${{ matrix.run_tests_parameters }}
|
${{ matrix.run_tests_parameters }}
|
||||||
|
idleCpu: ${{ matrix.asan && 'true' || 'false' }}
|
||||||
- name: Test Tracing JIT
|
- name: Test Tracing JIT
|
||||||
uses: ./.github/actions/test-linux
|
uses: ./.github/actions/test-linux
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue