Add ubsan and asan to TravisCI (#612)

Also add clang9
This commit is contained in:
Tom M 2020-02-01 10:55:50 +01:00 committed by GitHub
parent 545959ca17
commit 943ed37e54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ addons:
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-7
- llvm-toolchain-bionic-8
- llvm-toolchain-bionic-9
packages:
- cmake-data
- cmake
@ -31,6 +32,7 @@ env:
- CMAKE_FLAGS="-Denable-network=0"
- CMAKE_FLAGS="-Denable-aufile=0"
- CMAKE_FLAGS="-DBUILD_SHARED_LIBS=0"
- CMAKE_FLAGS="-Denable-ubsan=1"
matrix:
include:
@ -49,6 +51,9 @@ matrix:
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8 && sudo rm -f /usr/local/clang-7.0.0/bin/clang-tidy && sudo ln -s /usr/bin/clang-tidy-8 /usr/bin/clang-tidy && sudo apt-get install clang-8 clang-tidy-8"
- CMAKE_FLAGS="-Denable-profiling=1 -DCMAKE_C_FLAGS_DEBUG=-fuse-ld=gold"
- env:
- MATRIX_EVAL="CC=clang-9 && CXX=clang++-9 && sudo apt-get install clang-9"
- os: linux-ppc64le
env:
- CMAKE_FLAGS=""