blob: f5322c106157c804ca72dabaed75be230f628642 (
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
42
43
44
45
46
47
48
|
image: fedora:29
stages:
- build
- deploy
before_script:
- dnf install -y gcc ccache gettext gtk-doc meson ninja-build redhat-rpm-config
- dnf install -y glib2-devel clutter-devel gtk3-devel clutter-gtk-devel cairo-devel sqlite-devel libsoup-devel gobject-introspection-devel
.ccache-setup: &ccache-setup
variables:
CCACHE_BASEDIR: "${PWD}"
CCACHE_DIR: "${CCACHE_BASEDIR}/_ccache"
build-champlain:
stage: build
script:
- mkdir -p _ccache
- ccache --zero-stats
- ccache --show-stats
- meson -Dwidgetry=true -Ddemos=true -Dgtk_doc=true -Dintrospection=true _build .
- ninja -C _build
- ninja -C _build test
- ninja -C _build champlain-doc
- ccache --show-stats
artifacts:
name: "champlain-doc"
paths:
- _build/docs/reference/html
cache:
key: "$CI_JOB_NAME"
paths:
- _ccache/
<<: *ccache-setup
pages:
stage: deploy
dependencies:
- build-champlain
script:
- mkdir -p public/
- mv _build/docs/reference/html/ public/champlain/
artifacts:
paths:
- public
only:
- master
|