[glibmm: 1/2] CI: Initial setup for CI



commit 83f02f8098feb8a4b316895dc06c2776b4aaffa9
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Mon Nov 18 10:51:09 2019 -0600

    CI: Initial setup for CI

 .gitlab-ci.yml | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
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
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]