[gvfs/wip/oholy/gnome-build-meta] ci: Test suite integration
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/oholy/gnome-build-meta] ci: Test suite integration
- Date: Fri, 18 Jan 2019 13:09:22 +0000 (UTC)
commit 9d55e0cc0fb7de152887a2eec83424521587b870
Author: Ondrej Holy <oholy redhat com>
Date: Fri Jan 18 14:08:15 2019 +0100
ci: Test suite integration
.gitlab-ci.yml | 18 +++++++++++++++++-
.gitlab-ci/Dockerfile | 2 +-
2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b78b8b0..c348515a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,13 +1,29 @@
variables:
NAME: "fedora"
+stages:
+ - build
+ - test
+
fedora:
stage: build
image: "$CI_REGISTRY_IMAGE/$NAME"
+ artifacts:
+ paths:
+ - build/
+ expire_in: 1h
script:
- - meson build --werror
+ - meson -Dinstalled_tests=true --prefix /usr --werror build
- ninja -C build
+test:
+ stage: test
+ dependencies:
+ - fedora
+ script:
+ - ninja -C build install
+ - GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner
+
gnome-build-meta:
stage: build
image: buildstream/buildstream-fedora:master-123-abef70fe
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 73d876cf..23dc939a 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -1,6 +1,6 @@
FROM fedora:rawhide
-RUN dnf install -y avahi-devel avahi-glib-devel dbus-glib-devel docbook-style-xsl fuse-devel gcc gcr-devel
gettext-devel glib2-devel gnome-online-accounts-devel libarchive-devel libbluray-devel libcap-devel
libcdio-paranoia-devel libexif-devel libgcrypt-devel libgdata-devel libgphoto2-devel libgudev-devel
libimobiledevice-devel libmtp-devel libnfs-devel libplist-devel libsecret-devel libsmbclient-devel
libsoup-devel libtalloc-devel libudisks2-devel libusb-devel libxslt-devel meson openssh-clients
pkgconf-pkg-config polkit-devel systemd-devel \
+RUN dnf install -y avahi-devel avahi-glib-devel dbus-glib-devel docbook-style-xsl fuse-devel gcc gcr-devel
gettext-devel glib2-devel gnome-online-accounts-devel libarchive-devel libbluray-devel libcap-devel
libcdio-paranoia-devel libexif-devel libgcrypt-devel libgdata-devel libgphoto2-devel libgudev-devel
libimobiledevice-devel libmtp-devel libnfs-devel libplist-devel libsecret-devel libsmbclient-devel
libsoup-devel libtalloc-devel libudisks2-devel libusb-devel libxslt-devel meson openssh-clients
pkgconf-pkg-config polkit-devel systemd-devel gnome-desktop-testing dbus-daemon python3-twisted \
&& dnf clean all
RUN dnf install -y --best elfutils-libelf-devel gamin-devel gcc gcc-c++ gdbm gettext git glibc-devel
glibc-headers gtk-doc libattr-devel libffi-devel libmount-devel libselinux-devel ninja-build pcre-devel
python3-devel systemtap-sdt-devel zlib-devel \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]