php-src/azure/tests.yml
Nikita Popov 9540e70982 Run the opcache-only configuration only for scheduled builds
The opcache-only configuration has very little signal (i.e. it is
very rare that it fails while non-opcache and opcache+jit both
pass). Switch it to run only for nightly builds, so we get faster
results on normal builds.
2020-09-08 16:29:01 +02:00

36 lines
1.2 KiB
YAML

parameters:
configurationName: ''
runTestsParameters: ''
steps:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsParameters: ${{ parameters.runTestsParameters }}
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'OpCache'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'Function JIT'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
-d opcache.jit_buffer_size=16M
-d opcache.jit=1205
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'Tracing JIT'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
-d opcache.jit_buffer_size=16M