summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-08-01 13:35:01 +0000
committerBastien Nocera <hadess@hadess.net>2018-08-01 13:35:01 +0000
commitc393c1803c5e31405f0d78d905203be3f01305cc (patch)
tree4d35b045cf6d366638c9d23a1e06b434d9217235
parentc7a1cf3c4ccd1a0155b00deb4153459394b8e20d (diff)
parent54b7ca6032490822bb3fa4f556e8cff505579513 (diff)
downloadgnome-desktop-c393c1803c5e31405f0d78d905203be3f01305cc.tar.gz
Merge branch 'wip/hadess/add-ci' into 'master'
build: Add CI See merge request GNOME/gnome-desktop!4
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..a1e3e7ce
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+image: fedora:rawhide
+
+variables:
+ DEPENDENCIES: gtk3-devel gsettings-desktop-schemas-devel gettext
+ gtk-doc xkeyboard-config-devel intltool itstool
+ gobject-introspection-devel systemd-devel iso-codes-devel
+ libseccomp-devel gcc gcc-c++ glibc-devel gnome-common
+ make redhat-rpm-config
+
+build_stable:
+ before_script:
+ # Work-around https://bugzilla.redhat.com/show_bug.cgi?id=1607172#c4
+ - echo "update dnf gdbm" >> translist.txt
+ - echo "remove python3-modulemd" >> translist.txt
+ - dnf shell -y --nogpgcheck translist.txt
+ - dnf update -y --nogpgcheck
+ - dnf install -y --nogpgcheck $DEPENDENCIES
+ # Work-around itstool crasher: https://github.com/itstool/itstool/commit/9b84c007a73e8275ca45762f1bfa3ab7c3a852e2
+ - rpm -Uvh https://kojipkgs.fedoraproject.org//work/tasks/3068/28763068/itstool-2.0.4-4.fc29.noarch.rpm
+ script:
+ - ./autogen.sh --disable-dependency-tracking
+ - make
+ - make install
+ - make check