CI: Pick up build requirements from rpm

tingping/wmclass
Alexander Larsson 2016-12-12 17:27:19 +01:00 committed by Alexander Larsson
parent e1bf3eff52
commit 208f562c8e
2 changed files with 36 additions and 25 deletions

View File

@ -1,24 +0,0 @@
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

View File

@ -4,7 +4,42 @@ branches:
- try
container:
image: projectatomic/ostree-tester
image: fedora:25
packages:
- gcc
- sudo
- which
- attr
- fuse
- gjs
- parallel
- clang
- libubsan
- gnome-desktop-testing
- pkgconfig(fuse)
- pkgconfig(gio-unix-2.0)
- pkgconfig(gobject-introspection-1.0) >= 1.40.0
- pkgconfig(json-glib-1.0)
- pkgconfig(libarchive) >= 2.8.0
- pkgconfig(libelf) >= 0.8.12
- pkgconfig(libsoup-2.4)
- pkgconfig(ostree-1) >= %{ostree_version}
- pkgconfig(polkit-gobject-1)
- pkgconfig(libseccomp)
- pkgconfig(xau)
- bubblewrap >= %{bubblewrap_version}
- docbook-dtds
- docbook-style-xsl
- intltool
- libattr-devel
- libcap-devel
- libdwarf-devel
- elfutils
- systemd
- /usr/bin/xmlto
- /usr/bin/xsltproc
- redhat-rpm-config
env:
CFLAGS: '-fsanitize=undefined'