diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-08 16:29:01 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-08 16:29:01 +0200 |
commit | 9540e709820784ff15c8a6857e53420ae2ed49fd (patch) | |
tree | 82a283150803844859fb9907e97db8964ed49677 /azure | |
parent | 2d1b872b13960c5d5183a5f0aa11aa790a671dc9 (diff) | |
download | php-git-9540e709820784ff15c8a6857e53420ae2ed49fd.tar.gz |
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.
Diffstat (limited to 'azure')
-rw-r--r-- | azure/macos/job.yml | 11 | ||||
-rw-r--r-- | azure/tests.yml | 15 |
2 files changed, 14 insertions, 12 deletions
diff --git a/azure/macos/job.yml b/azure/macos/job.yml index 07dd6d4803..39fe19268b 100644 --- a/azure/macos/job.yml +++ b/azure/macos/job.yml @@ -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: diff --git a/azure/tests.yml b/azure/tests.yml index 6142623398..7cbd1e5636 100644 --- a/azure/tests.yml +++ b/azure/tests.yml @@ -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: |