xref: /PHP-7.4/azure/job.yml (revision e0d20701)
1parameters:
2  configurationName: ''
3  configurationParameters: ''
4  runTestsParameters: ''
5  timeoutInMinutes: 60
6
7jobs:
8  - job: ${{ parameters.configurationName }}
9    timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
10    pool:
11      vmImage: 'ubuntu-18.04'
12    steps:
13    - template: apt.yml
14    - template: configure.yml
15      parameters:
16        configurationParameters: ${{ parameters.configurationParameters }}
17    - script: make -j$(/usr/bin/nproc) >/dev/null
18      displayName: 'Make Build'
19    - template: install.yml
20    - template: setup.yml
21    - template: test.yml
22      parameters:
23        configurationName: ${{ parameters.configurationName }}
24        runTestsParameters: ${{ parameters.runTestsParameters }}
25    - template: test.yml
26      parameters:
27        configurationName: ${{ parameters.configurationName }}
28        runTestsName: 'OpCache'
29        runTestsParameters: >-
30          ${{ parameters.runTestsParameters }}
31          -d zend_extension=opcache.so
32