[gnome-software] Enable CI in GNOME Gitlab



commit 86ee3110cbd63ef61fca82f7e6ba1acf17df2c41
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 18 13:48:05 2017 +0100

    Enable CI in GNOME Gitlab

 .gitlab-ci.yml |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b93223e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,60 @@
+image: fedora:26
+
+stages:
+  - build
+
+before_script:
+  - dnf update -y
+  - >
+    dnf install -y \
+      desktop-file-utils \
+      docbook-style-xsl \
+      dpkg \
+      flatpak-devel \
+      fwupd-devel \
+      gcc \
+      gettext \
+      glib2-devel \
+      gnome-desktop3-devel \
+      gsettings-desktop-schemas-devel \
+      gtk3-devel \
+      gtk-doc \
+      gtkspell3-devel \
+      json-glib-devel \
+      libappstream-glib-devel \
+      libgudev1-devel \
+      liboauth-devel \
+      libsecret-devel \
+      libsoup-devel \
+      libxslt \
+      meson \
+      ninja-build \
+      ostree-devel \
+      PackageKit \
+      PackageKit-glib-devel \
+      polkit-devel \
+      rpm-devel \
+      snapd-glib-devel \
+      sqlite-devel \
+      valgrind-devel
+
+build-gnome-software:
+  stage: build
+  script:
+  - meson -Denable-fwupd=false _build .
+  - ninja -v -C _build
+  - mkdir -p /run/dbus
+  - mkdir -p /var
+  - ln -s /var/run /run
+  - dbus-daemon --system --fork
+  - meson test -v -C _build gs-self-test-lib
+  - meson test -v -C _build gs-self-test-core
+  - meson test -v -C _build gs-self-test-dpkg
+  - meson test -v -C _build gs-self-test-dummy
+  - meson test -v -C _build gs-self-test-epiphany
+  - meson test -v -C _build gs-self-test-fwupd
+  - meson test -v -C _build gs-self-test-modalias
+  - meson test -v -C _build gs-self-test-repos
+  - meson test -v -C _build gs-self-test-src
+  - meson test -v -C _build gs-self-test-shell-extensions
+  - meson test -v -C _build gs-self-test-flatpak


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]