summaryrefslogtreecommitdiff
path: root/azure/job.yml
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-20 16:51:14 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-28 15:00:54 +0200
commit54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e (patch)
tree4c8837cfc655c3215ee44b6002d9f6b3a60855ba /azure/job.yml
parentca6f41aa5a15a44f841e42c7255294d521c95d5d (diff)
downloadphp-git-54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e.tar.gz
Set up asan+ubsan scheduled build on azure
Also adds an --asan flag to run-tests.php to setup all the necessary environment variables. Some tests are marked as skipped because they are incompatible with asan or too slow. I'm basing this on the DEBUG_ZTS build, which seems to give us the most mileage.
Diffstat (limited to 'azure/job.yml')
-rw-r--r--azure/job.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/azure/job.yml b/azure/job.yml
index a7267f11c3..646faed755 100644
--- a/azure/job.yml
+++ b/azure/job.yml
@@ -1,9 +1,12 @@
parameters:
configurationName: ''
configurationParameters: ''
+ runTestsParameters: ''
+ timeoutInMinutes: 60
jobs:
- job: ${{ parameters.configurationName }}
+ timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
pool:
vmImage: 'ubuntu-latest'
steps:
@@ -80,8 +83,11 @@ jobs:
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
+ runTestsParameters: ${{ parameters.runTestsParameters }}
- template: test.yml
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsName: 'OpCache'
- runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1
+ runTestsParameters: >-
+ ${{ parameters.runTestsParameters }}
+ -d zend_extension=opcache.so -d opcache.enable_cli=1