ci: Add .gitlab-ci.yml
authorAdam Jackson <ajax@redhat.com>
Thu, 31 May 2018 16:32:18 +0000 (12:32 -0400)
committerAdam Jackson <ajax@redhat.com>
Tue, 5 Jun 2018 16:13:35 +0000 (12:13 -0400)
Just builds on Fedora 28 for x86_64 at the moment, but it's a start.
Credit to Daniel Stone for eliminating the nested docker image.

Signed-off-by: Adam Jackson <ajax@redhat.com>
.gitlab-ci.yml [new file with mode: 0644]
contrib/ci.sh [new file with mode: 0755]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..b506ca3
--- /dev/null
@@ -0,0 +1,9 @@
+image: fedora:28
+
+job:
+    script:
+    - dnf -y install dnf-plugins-core
+    - dnf -y groupinstall buildsys-build
+    - dnf -y builddep pixman
+    - ./autogen.sh
+    - make -sj4 check
\ No newline at end of file
diff --git a/contrib/ci.sh b/contrib/ci.sh
new file mode 100755 (executable)
index 0000000..48b3e77
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -ex
+
+./autogen.sh
+make -sj4 check