ci: Use -fsanitize=undefined by default

It's fast enough to use for CI testing by default, and it
can catch a lot of bad things.

Closes: #552
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-10-27 13:51:55 -04:00 committed by Atomic Bot
parent 05dc77d7e5
commit a15dc7f191
1 changed files with 4 additions and 0 deletions

View File

@ -6,12 +6,16 @@ branches:
container: container:
image: projectatomic/ostree-tester image: projectatomic/ostree-tester
packages:
- libubsan
tests: tests:
- sh autogen.sh - sh autogen.sh
--prefix=/usr --prefix=/usr
--libdir=/usr/lib64 --libdir=/usr/lib64
--enable-installed-tests --enable-installed-tests
--enable-gtk-doc --enable-gtk-doc
CFLAGS='-fsanitize=undefined'
- make -j2 - make -j2
- make syntax-check - make syntax-check
- make check - make check