summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: ff0ce819789abc4b4097d969d1307e3b8937c813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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