Add gitlab ci workflow
Mainly to check if the installation on ubuntu rolling works.
Change-Id: I19f7fd847fdeaf4c683a40b6f240cde211913779
diff --git a/ci/Makevars b/ci/Makevars
new file mode 100644
index 0000000..1292033
--- /dev/null
+++ b/ci/Makevars
@@ -0,0 +1,11 @@
+VER=
+CXX17=$(CCACHE) g++$(VER)
+CCACHE=ccache
+#CCACHE=
+CC=$(CCACHE) gcc$(VER)
+CXX=$(CCACHE) g++$(VER)
+CXX11=$(CCACHE) g++$(VER)
+CXX14=$(CCACHE) g++$(VER)
+CXX17=$(CCACHE) g++$(VER)
+FC=$(CCACHE) gfortran$(VER)
+F77=$(CCACHE) gfortran$(VER)
diff --git a/ci/ccache.conf b/ci/ccache.conf
new file mode 100644
index 0000000..95b69c3
--- /dev/null
+++ b/ci/ccache.conf
@@ -0,0 +1,3 @@
+max_size = 5.0G
+sloppiness = include_file_ctime
+hash_dir = false
diff --git a/ci/section_helper.sh b/ci/section_helper.sh
new file mode 100644
index 0000000..ddefe0d
--- /dev/null
+++ b/ci/section_helper.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# Reference: https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections
+
+#
+# Takes 2 Parameters a new section id and a heading/title
+#
+function start_section() {
+ id=$1
+ title=$2
+ echo -e "\e[0Ksection_start:$(date +%s):${id}[collapsed=true]\r\e[0K\e[36;1m${title}\e[0m"
+}
+
+#
+# Takes 1 Parameter, the unique section id of the section that should end
+#
+function end_section() {
+ id=$1
+ echo -e "\e[0Ksection_end:$(date +%s):${id}\r\e[0K"
+}