diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-03-20 09:01:45 +0000 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-03-20 09:01:45 +0000 |
commit | 7cb7acf0eb215fb4ef41ded6ca3169c7e1395a52 (patch) | |
tree | 6692d85aea964be635087c27b150724c439357fb | |
parent | 1108af1eb9ea16d899c2feca2448554c4c7d1c60 (diff) | |
parent | 83f02f8098feb8a4b316895dc06c2776b4aaffa9 (diff) | |
download | glibmm-7cb7acf0eb215fb4ef41ded6ca3169c7e1395a52.tar.gz |
Merge branch 'wip/ci-setup' into 'master'
CI: Initial setup for CI
See merge request GNOME/glibmm!24
-rw-r--r-- | .gitlab-ci.yml | 41 |
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 + |