mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Minimal backport of 098d9ca
This commit is contained in:
parent
6e7e52de19
commit
36a87e6d32
4
.github/actions/test-linux/action.yml
vendored
4
.github/actions/test-linux/action.yml
vendored
@ -3,6 +3,9 @@ inputs:
|
||||
runTestsParameters:
|
||||
default: ''
|
||||
required: false
|
||||
jitType:
|
||||
default: 'disable'
|
||||
required: false
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@ -27,6 +30,7 @@ runs:
|
||||
export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
|
||||
export SKIP_IO_CAPTURE_TESTS=1
|
||||
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
||||
-d opcache.jit=${{ inputs.jitType }} \
|
||||
-j$(/usr/bin/nproc) \
|
||||
-g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \
|
||||
--offline \
|
||||
|
4
.github/actions/test-macos/action.yml
vendored
4
.github/actions/test-macos/action.yml
vendored
@ -3,6 +3,9 @@ inputs:
|
||||
runTestsParameters:
|
||||
default: ''
|
||||
required: false
|
||||
jitType:
|
||||
default: 'disable'
|
||||
required: false
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@ -12,6 +15,7 @@ runs:
|
||||
export SKIP_IO_CAPTURE_TESTS=1
|
||||
export CI_NO_IPV6=1
|
||||
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
|
||||
-d opcache.jit=${{ inputs.jitType }} \
|
||||
-j$(sysctl -n hw.ncpu) \
|
||||
-g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \
|
||||
--offline \
|
||||
|
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
@ -84,6 +84,7 @@ jobs:
|
||||
- name: Test Tracing JIT
|
||||
uses: ./.github/actions/test-linux
|
||||
with:
|
||||
jitType: tracing
|
||||
runTestsParameters: >-
|
||||
${{ matrix.run_tests_parameters }}
|
||||
-d zend_extension=opcache.so
|
||||
@ -102,12 +103,12 @@ jobs:
|
||||
if: matrix.test_function_jit
|
||||
uses: ./.github/actions/test-linux
|
||||
with:
|
||||
jitType: function
|
||||
runTestsParameters: >-
|
||||
${{ matrix.run_tests_parameters }}
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
-d opcache.jit_buffer_size=16M
|
||||
-d opcache.jit=1205
|
||||
- name: Verify generated files are up to date
|
||||
uses: ./.github/actions/verify-generated-files
|
||||
- name: Notify Slack
|
||||
@ -165,6 +166,7 @@ jobs:
|
||||
- name: Test Tracing JIT
|
||||
uses: ./.github/actions/test-linux
|
||||
with:
|
||||
jitType: tracing
|
||||
runTestsParameters: >-
|
||||
${{ matrix.run_tests_parameters }}
|
||||
-d zend_extension=opcache.so
|
||||
@ -180,12 +182,12 @@ jobs:
|
||||
- name: Test Function JIT
|
||||
uses: ./.github/actions/test-linux
|
||||
with:
|
||||
jitType: function
|
||||
runTestsParameters: >-
|
||||
${{ matrix.run_tests_parameters }}
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
-d opcache.jit_buffer_size=16M
|
||||
-d opcache.jit=1205
|
||||
- name: Notify Slack
|
||||
if: failure()
|
||||
uses: ./.github/actions/notify-slack
|
||||
@ -226,6 +228,7 @@ jobs:
|
||||
- name: Test Tracing JIT
|
||||
uses: ./.github/actions/test-macos
|
||||
with:
|
||||
jitType: tracing
|
||||
runTestsParameters: >-
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
@ -241,12 +244,12 @@ jobs:
|
||||
- name: Test Function JIT
|
||||
uses: ./.github/actions/test-macos
|
||||
with:
|
||||
jitType: function
|
||||
runTestsParameters: >-
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
-d opcache.protect_memory=1
|
||||
-d opcache.jit_buffer_size=16M
|
||||
-d opcache.jit=1205
|
||||
- name: Verify generated files are up to date
|
||||
uses: ./.github/actions/verify-generated-files
|
||||
- name: Notify Slack
|
||||
|
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@ -85,6 +85,7 @@ jobs:
|
||||
- name: Test Tracing JIT
|
||||
uses: ./.github/actions/test-linux
|
||||
with:
|
||||
jitType: tracing
|
||||
runTestsParameters: >-
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
@ -116,6 +117,7 @@ jobs:
|
||||
- name: Test Tracing JIT
|
||||
uses: ./.github/actions/test-macos
|
||||
with:
|
||||
jitType: tracing
|
||||
runTestsParameters: >-
|
||||
-d zend_extension=opcache.so
|
||||
-d opcache.enable_cli=1
|
||||
|
Loading…
Reference in New Issue
Block a user