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

Merge branch 'PHP-8.3'

* PHP-8.3:
  Reduce parallelism on frequently crashing jobs
This commit is contained in:
Ilija Tovilo
2023-11-28 00:31:51 +01:00
3 changed files with 6 additions and 2 deletions

View File

@@ -9,6 +9,9 @@ inputs:
jitType:
default: 'disable'
required: false
idleCpu:
default: 'false'
required: false
runs:
using: composite
steps:
@@ -50,7 +53,7 @@ runs:
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \
-j$(/usr/bin/nproc) \
${{ inputs.idleCpu == 'true' && '-j$(($(/usr/bin/nproc) - 1))' || '-j$(/usr/bin/nproc)' }} \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
--offline \

View File

@@ -23,7 +23,7 @@ runs:
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \
-j$(sysctl -n hw.ncpu) \
-j$(($(sysctl -n hw.ncpu) - 1)) \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
--offline \

View File

@@ -108,6 +108,7 @@ jobs:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
runTestsParameters: >-
${{ matrix.run_tests_parameters }}
idleCpu: ${{ matrix.asan && 'true' || 'false' }}
- name: Test Tracing JIT
uses: ./.github/actions/test-linux
with: