ostree/.redhat-ci.yml
Colin Walters a15dc7f191 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
2016-10-28 17:47:50 +00:00

49 lines
782 B
YAML

branches:
- master
- auto
- try
container:
image: projectatomic/ostree-tester
packages:
- libubsan
tests:
- sh autogen.sh
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
CFLAGS='-fsanitize=undefined'
- make -j2
- make syntax-check
- make check
- make install
- gnome-desktop-testing-runner ostree
- sudo --user=testuser gnome-desktop-testing-runner ostree
timeout: 30m
artifacts:
- test-suite.log
---
inherit: true
packages:
- clang
tests:
- sh autogen.sh
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
- make -j2 CC=clang CFLAGS='-Werror=unused-variable'
context: Clang
artifacts: