Add AddressSanitizer to CI

This commit is contained in:
Sebastian Messmer 2017-10-02 08:02:55 +01:00
parent 0af087c120
commit ea3a7cf0e2
1 changed files with 11 additions and 0 deletions

View File

@ -344,6 +344,15 @@ jobs:
APT_COMPILER_PACKAGE: clang-5.0
CXXFLAGS: "-DCRYFS_NO_COMPATIBILITY"
BUILD_TYPE: "Debug"
address_sanitizer:
<<: *job_definition
environment:
CC: clang-5.0
CXX: clang++-5.0
BUILD_TOOLSET: clang
APT_COMPILER_PACKAGE: clang-5.0
CXXFLAGS: "-O2 -fsanitize=address -fno-omit-frame-pointer"
BUILD_TYPE: "Debug"
workflows:
version: 2
@ -384,4 +393,6 @@ workflows:
<<: *enable_for_tags
- no_compatibility:
<<: *enable_for_tags
- address_sanitizer:
<<: *enable_for_tags