From 54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 20 Jun 2019 16:51:14 +0200 Subject: 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. --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'azure-pipelines.yml') 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 -- cgit v1.2.1