ci: Add .gitlab-ci.yml

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>
This commit is contained in:
Adam Jackson
2018-05-31 12:32:18 -04:00
parent ddf42d627c
commit 9034d0cc32
2 changed files with 15 additions and 0 deletions

9
.gitlab-ci.yml Normal file
View File

@@ -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

6
contrib/ci.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -ex
./autogen.sh
make -sj4 check