diff --git a/.redhat-ci.Dockerfile b/.redhat-ci.Dockerfile new file mode 100644 index 00000000..9af0b3cc --- /dev/null +++ b/.redhat-ci.Dockerfile @@ -0,0 +1,24 @@ +FROM fedora:25 +MAINTAINER Alexander Larsson + +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 diff --git a/.redhat-ci.yml b/.redhat-ci.yml new file mode 100644 index 00000000..9a3f4237 --- /dev/null +++ b/.redhat-ci.yml @@ -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: