summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPavlo Solntsev <p.sun.fun@gmail.com>2019-11-18 10:51:09 -0600
committerPavlo Solntsev <p.sun.fun@gmail.com>2020-03-05 21:52:47 -0600
commit83f02f8098feb8a4b316895dc06c2776b4aaffa9 (patch)
tree431f7e2ce92ee448f509caca6ae7fbe9e1e734e9 /.gitlab-ci.yml
parent89cfdff3e807d53efbe8afb2d3354151043bf70f (diff)
downloadglibmm-83f02f8098feb8a4b316895dc06c2776b4aaffa9.tar.gz
CI: Initial setup for CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..ff0ce819
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,41 @@
+# This file is a template, and might need editing before it works on your project.
+# use the official gcc image, based on debian
+# can use verions as well, like gcc:5.2
+# see https://hub.docker.com/_/gcc/
+image: ubuntu:devel
+
+stages:
+ - build
+
+variables:
+ DEPENDENCIES: g++
+ gettext
+ git
+ yelp-tools
+ gtk-doc-tools
+ make
+ autoconf
+ python3-pygments
+ python3-setuptools
+ libglib2.0-dev
+ mm-common
+ libxml-libxml-perl
+
+ GIT_SUBMODULE_STRATEGY: normal
+
+before_script:
+ - export DEBIAN_FRONTEND=noninteractive
+ - apt update && apt -y upgrade && apt -y install $DEPENDENCIES
+ - git clone --branch 3.0.0 https://github.com/libsigcplusplus/libsigcplusplus libsigc
+ - cd libsigc
+ - ./autogen.sh --prefix=/usr
+ - make
+ - make install && cd ..
+
+library_build:
+ stage: build
+ script:
+ - ./autogen.sh --prefix=/usr
+ - make
+ - make install
+