Add AddressSanitizer to CI
This commit is contained in:
parent
0af087c120
commit
ea3a7cf0e2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue