From: Alex Bennée Date: Tue, 28 May 2019 18:21:19 +0000 (+0100) Subject: .travis.yml: add clang ubsan job X-Git-Tag: v4.1.0-rc0~61^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7831147edfeb3b0d54a7bff411bf41cc2398f924;p=thirdparty%2Fqemu.git .travis.yml: add clang ubsan job We document this on our wiki and we might as well catch it in our CI rather than waiting for it to be picked up on merge: https://wiki.qemu.org/Testing#clang_UBSan Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- diff --git a/.travis.yml b/.travis.yml index a6bb1f9f98e..08502c0aa24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,6 +152,13 @@ matrix: compiler: clang + - env: + - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " + compiler: clang + before_script: + - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; } + + - env: - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" compiler: clang