aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-05-28 19:21:19 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-06-12 17:53:22 +0100
commit7831147edfeb3b0d54a7bff411bf41cc2398f924 (patch)
tree5ce7d380acf56fd651642323c082a6af8225a976
parent3998c25e5368275257e2a44c483500a55510b3d0 (diff)
downloadqemu-7831147edfeb3b0d54a7bff411bf41cc2398f924.zip
qemu-7831147edfeb3b0d54a7bff411bf41cc2398f924.tar.gz
qemu-7831147edfeb3b0d54a7bff411bf41cc2398f924.tar.bz2
.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 <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a6bb1f9..08502c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -153,6 +153,13 @@ matrix:
- 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