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

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  Fix enabling of opcache in CI
This commit is contained in:
Ilija Tovilo
2026-02-18 02:01:53 +01:00
4 changed files with 29 additions and 24 deletions

View File

@@ -3,6 +3,9 @@ inputs:
runTestsParameters:
default: ''
required: false
enableOpcache:
default: 'false'
required: false
jitType:
default: 'disable'
required: false
@@ -15,6 +18,7 @@ runs:
export SKIP_IO_CAPTURE_TESTS=1
export STACK_LIMIT_DEFAULTS_CHECK=1
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.jit_buffer_size=64M \
-j$(nproc) \

View File

@@ -3,6 +3,9 @@ inputs:
runTestsParameters:
default: ''
required: false
enableOpcache:
default: 'false'
required: false
jitType:
default: 'disable'
required: false
@@ -42,6 +45,7 @@ runs:
export SKIP_IO_CAPTURE_TESTS=1
export STACK_LIMIT_DEFAULTS_CHECK=1
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \

View File

@@ -3,6 +3,9 @@ inputs:
runTestsParameters:
default: ''
required: false
enableOpcache:
default: 'false'
required: false
jitType:
default: 'disable'
required: false
@@ -16,6 +19,7 @@ runs:
export CI_NO_IPV6=1
export STACK_LIMIT_DEFAULTS_CHECK=1
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
${{ inputs.enableOpcache == 'true' && '-d opcache.enable_cli=1' }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \