-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.gitlab-ci.yml
49 lines (46 loc) · 1.01 KB
/
.gitlab-ci.yml
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
42
43
44
45
46
47
48
49
variables:
DEBIAN_FRONTEND: noninteractive
stages:
- build
- deploy
build:ubuntu:
stage: build
image: ubuntu:devel
before_script:
- apt-get update &&
- apt-get install -q -y --no-install-recommends
gobject-introspection
libgdk-pixbuf2.0-dev
libgirepository1.0-dev
libglib2.0-dev
libgtk-3-dev
libpopt-dev
xmlto
meson
ninja-build
python3-pip
python3-setuptools
xsltproc
docbook-xsl-ns
gi-docgen
script:
- meson _build -Ddocbook_docs=enabled
- ninja -C _build install
- mv _build/docs/reference/libnotify-0 _reference
artifacts:
expose_as: "Build artifacts"
paths:
- _build/docs/notification-spec.html
- _reference
- _build/meson-logs
pages:
stage: deploy
script:
- mkdir public
- mv _reference/* public/
artifacts:
when: on_success
paths:
- public
# https://github.com/linux-test-project/lcov/issues/58
allow_failure: true