Add initial redhat-ci integration

tingping/wmclass
Alexander Larsson 2016-12-12 16:45:52 +01:00
parent f65f0cb37c
commit 69253de81a
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,24 @@
FROM fedora:25
MAINTAINER Alexander Larsson <alexl@redhat.com>
RUN dnf install -y \
gcc \
sudo \
which \
attr \
fuse \
gjs \
parallel \
clang \
libubsan \
gnome-desktop-testing \
redhat-rpm-config \
elfutils \
ostree-devel \
libarchive-devel \
json-glib-devel \
fuse-devel \
&& dnf clean all
# create an unprivileged user for testing
RUN adduser testuser

38
.redhat-ci.yml 100644
View File

@ -0,0 +1,38 @@
branches:
- master
- auto
- try
container:
image: projectatomic/ostree-tester
env:
CFLAGS: '-fsanitize=undefined'
build:
config-opts: >
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
tests:
- make check
timeout: 30m
artifacts:
- test-suite.log
---
inherit: true
context: Clang
env:
CC: 'clang'
CFLAGS: '-Werror=unused-variable'
tests:
artifacts: