summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-05-27 13:14:34 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-05-27 13:20:58 +0200
commit2f725b363ea1d93274e7556de1f65d00d77efc68 (patch)
treefab7ad620c428f37ed57c7e975f8d9d242632a88
parent6a5c9e7e8daf4e1361709a75719c17c8c28a6c4b (diff)
downloadfolks-wip/nielsdg/add-gitlab-ci.tar.gz
CI: add a GitLab CI file.wip/nielsdg/add-gitlab-ci
This allows us to check on each commit/MR/... whether everything still builds and all tests still pass.
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..0b25ced6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+stages:
+ - build
+
+fedora-rawhide:
+ image: fedora:rawhide
+ stage: build
+ before_script:
+ - dnf update -y && dnf -y install dnf-plugins-core @buildsys-build
+ - dnf -y builddep folks
+ script:
+ # Configure
+ - ./autogen.sh
+ # Build
+ - make -j
+ # Run tests
+ - make -j check