-
Notifications
You must be signed in to change notification settings - Fork 72
/
.gitlab-ci.yml
55 lines (52 loc) · 1.6 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
50
51
52
53
54
55
# Copyright 2023 Zander Brown
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <https://www.gnu.org/licenses/>.
image: fedora:latest
doc:
only:
refs:
- tags
variables:
MESON_ARGS: >-
-Ddocs=true
-Dgtk4=true
-Dvapi=false
before_script:
- dnf -y install fribidi-devel g++ git glib2-devel gnutls-devel
gobject-introspection-devel gperf gtk3-devel gtk4-devel
libicu-devel meson pango-devel pcre2-devel python3-jinja2
python3-packaging python3-pygments python3-toml python3-typogrify
systemd-devel lz4-devel gi-docgen
script:
- meson --prefix=/app ${MESON_ARGS} _build
- ninja -C _build
- mkdir _doc
- cp .gitlab-ci/docs.html _doc/index.html
- mv _build/doc/reference/vte-2.91/ _doc/gtk3
- mv _build/doc/reference/vte-2.91-gtk4/ _doc/gtk4
artifacts:
expose_as: 'Browse documentation'
paths:
- _doc/index.html
- _doc
pages:
needs: ['doc']
only:
refs:
- tags
script:
- cp -r _doc public
artifacts:
paths:
- public