diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-20 16:51:14 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-28 15:00:54 +0200 |
commit | 54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e (patch) | |
tree | 4c8837cfc655c3215ee44b6002d9f6b3a60855ba /azure-pipelines.yml | |
parent | ca6f41aa5a15a44f841e42c7255294d521c95d5d (diff) | |
download | php-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-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7653b3e7af..c0be304b5e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -55,3 +55,12 @@ jobs: parameters: configurationName: MACOS_RELEASE_ZTS configurationParameters: '--disable-debug --enable-maintainer-zts' + - template: azure/job.yml + parameters: + configurationName: DEBUG_ZTS_ASAN_UBSAN + configurationParameters: >- + --enable-debug --enable-maintainer-zts + CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' + LDFLAGS='-fsanitize=undefined,address' + runTestsParameters: --asan + timeoutInMinutes: 120 |