Travis: Add Clang UBSan build configuration

pull/1480/head
Turo Lamminen 2017-10-07 17:47:06 +03:00
parent 6efe4e2841
commit 7b73fe8b02
2 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,10 @@ function generate()
OPTIONS="$OPTIONS -DASSIMP_ASAN=OFF"
fi
if [ "$UBSAN" = "ON" ] ; then
OPTIONS="$OPTIONS -DASSIMP_UBSAN=ON"
fi
cmake -G "Unix Makefiles" $OPTIONS
}

View File

@ -46,6 +46,9 @@ matrix:
- os: linux
compiler: clang
env: ASAN=ON
- os: linux
compiler: clang
env: UBSAN=ON
- os: linux
compiler: clang
env: SHARED_BUILD=ON