summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: fab6ae0027872bd5a7c7496120691c534eebff7b (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
variables:
  DEBIAN_FRONTEND: noninteractive

stages:
  - build

.base_build_template: &base_build
  stage: build
  image: ubuntu:devel

.ubuntu_deps_install_template: &ubuntu_deps_install
    apt-get update &&
    apt-get install -q -y --no-install-recommends
      build-essential
      docbook-xml
      gettext
      gobject-introspection
      gtk-doc-tools
      libgirepository1.0-dev
      libglib2.0-dev
      libglib2.0-doc
      libgtk-3-dev
      libgtk-3-doc
      libstartup-notification0-dev
      libx11-dev
      libxext-dev
      libxres-dev
      meson
      ninja-build

build:ubuntu:meson:
  <<: *base_build
  before_script:
    - *ubuntu_deps_install
  script:
    - meson _build -Dgtk_doc=true
    - ninja -C _build