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

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.
This commit is contained in:
Nikita Popov
2020-09-08 16:29:01 +02:00
parent 2d1b872b13
commit 9540e70982
2 changed files with 14 additions and 12 deletions

View File

@@ -80,11 +80,12 @@ jobs:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'OpCache'
runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1 -d opcache.protect_memory=1
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'OpCache'
runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1 -d opcache.protect_memory=1
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: test.yml
parameters:

View File

@@ -7,13 +7,14 @@ steps:
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsParameters: ${{ parameters.runTestsParameters }}
- 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: 'OpCache'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- template: test.yml
parameters: