Files
php-src/azure/opcache_variation_job.yml
Nikita Popov b9cfd288e5 Merge branch 'PHP-8.0'
* PHP-8.0:
  Update community, coverage and file cache jobs to Ubuntu 20.04
2021-05-07 11:31:36 +02:00

64 lines
2.1 KiB
YAML

parameters:
configurationName: ''
configurationParameters: ''
runTestsParameters: ''
timeoutInMinutes: 60
jobs:
- job: ${{ parameters.configurationName }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
pool:
vmImage: 'ubuntu-20.04'
steps:
- template: mssql.yml
- template: apt.yml
- template: configure.yml
parameters:
configurationParameters: ${{ parameters.configurationParameters }}
- script: make -j$(/usr/bin/nproc) >/dev/null
displayName: 'Make Build'
- template: install.yml
- template: setup.yml
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'File Cache (prime)'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
--file-cache-prime
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'File Cache (use)'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
--file-cache-use
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'File Cache Only (prime)'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
--file-cache-prime
-d opcache.file_cache_only=1
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'File Cache Only (use)'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
--file-cache-use
-d opcache.file_cache_only=1
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'Without interned strings'
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
-d opcache.interned_strings_buffer=0