rpm-ostree/.redhat-ci.yml
Colin Walters 0d720e46e0 Add .redhat-ci.yml
Copied from ostree, tweaked a little bit.  We can't yet use
`-Werror=unused-variable` until
https://github.com/rpm-software-management/libhif/pull/205

Closes: #506
Approved by: jlebon
2016-10-31 13:17:26 +00:00

62 lines
1014 B
YAML

branches:
- master
- auto
- try
container:
image: projectatomic/ostree-tester
packages:
- clang
- libubsan
- python-sphinx
- createrepo_c
- gperf
- rpm-build
- bubblewrap
- python-devel
- check-devel
- pkgconfig(ostree-1)
- pkgconfig(libgsystem)
- pkgconfig(librepo)
- pkgconfig(libsolv)
- pkgconfig(rpm)
- pkgconfig(json-glib-1.0)
- pkgconfig(expat)
- cmake
- gtk-doc
tests:
- ./autogen.sh
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
CFLAGS='-fsanitize=undefined'
- make -j2
- make check
- make install
- gnome-desktop-testing-runner rpm-ostree
- sudo --user=testuser gnome-desktop-testing-runner rpm-ostree
timeout: 30m
artifacts:
- test-suite.log
---
inherit: true
tests:
- ./autogen.sh
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc CC=clang
- make -j2
context: Clang
artifacts: