1name: Test
2inputs:
3  runTestsParameters:
4    default: ''
5    required: false
6  jitType:
7    default: 'disable'
8    required: false
9runs:
10  using: composite
11  steps:
12    - shell: bash
13      run: |
14        set -x
15        export SKIP_IO_CAPTURE_TESTS=1
16        export CI_NO_IPV6=1
17        export STACK_LIMIT_DEFAULTS_CHECK=1
18        sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
19          -d opcache.jit=${{ inputs.jitType }} \
20          -d opcache.protect_memory=1 \
21          -d opcache.jit_buffer_size=64M \
22          -j$(($(sysctl -n hw.ncpu) - 1)) \
23          -g FAIL,BORK,LEAK,XLEAK \
24          --no-progress \
25          --offline \
26          --show-diff \
27          --show-slow 1000 \
28          --set-timeout 120
29