mirror of
https://github.com/php/php-src.git
synced 2024-12-18 22:41:20 +08:00
dde2bcb556
* PHP-7.4: Explicitly specify ubuntu versions on azure pipelines
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
parameters:
|
|
configurationName: ''
|
|
configurationParameters: ''
|
|
runTestsParameters: ''
|
|
timeoutInMinutes: 60
|
|
|
|
jobs:
|
|
- job: ${{ parameters.configurationName }}
|
|
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
|
|
pool:
|
|
vmImage: 'ubuntu-18.04'
|
|
steps:
|
|
- template: apt.yml
|
|
- template: configure.yml
|
|
parameters:
|
|
configurationParameters: ${{ parameters.configurationParameters }}
|
|
- script: make -j$(/usr/bin/nproc) >/dev/null
|
|
displayName: 'Make Build'
|
|
- template: install.yml
|
|
- script: |
|
|
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
|
|
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
|
|
sudo -u postgres psql -c "CREATE DATABASE test;"
|
|
displayName: 'Setup'
|
|
- template: test.yml
|
|
parameters:
|
|
configurationName: ${{ parameters.configurationName }}
|
|
runTestsParameters: ${{ parameters.runTestsParameters }}
|
|
- template: test.yml
|
|
parameters:
|
|
configurationName: ${{ parameters.configurationName }}
|
|
runTestsName: 'OpCache'
|
|
runTestsParameters: >-
|
|
${{ parameters.runTestsParameters }}
|
|
-d zend_extension=opcache.so
|
|
- template: test.yml
|
|
parameters:
|
|
configurationName: ${{ parameters.configurationName }}
|
|
runTestsName: 'JIT'
|
|
runTestsParameters: >-
|
|
${{ parameters.runTestsParameters }}
|
|
-d zend_extension=opcache.so
|
|
-d opcache.jit_buffer_size=16M
|