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:
parent
05dc77d7e5
commit
a15dc7f191
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue