.gitlab-ci.yml 533 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
stages:
  - build

build-debian:
  image: debian:buster
  tags:
    - librem5
  before_script:
    - apt-get -y update
Guido Gunther's avatar
Guido Gunther committed
10
    - apt-get -y install build-essential libgtk-3-doc
11 12 13 14
    - apt-get -y build-dep .
  stage: build
  script:
    - export LC_ALL=C.UTF-8
15
    - meson . _build -Dgtk_doc=true --werror
16
    - ninja -C _build
Guido Gunther's avatar
Guido Gunther committed
17 18 19
    - ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
    # Check gtk-doc did not produce any new warnings
    - "! grep -qs 'warning' _build/doc/buildlog"
20 21
    - xvfb-run ninja -C _build test