mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-05 16:11:19 +00:00
CI: build documentation
This commit is contained in:
parent
7d113fb013
commit
8070c41e46
1 changed files with 27 additions and 3 deletions
|
@ -11,6 +11,7 @@ variables:
|
||||||
DEPS: build-essential git
|
DEPS: build-essential git
|
||||||
WANT_BUILD_DEPS: "true"
|
WANT_BUILD_DEPS: "true"
|
||||||
IMAGE: debian:bullseye
|
IMAGE: debian:bullseye
|
||||||
|
COMMON_BUILD_OPTS: --werror
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -26,6 +27,12 @@ before_script:
|
||||||
tags:
|
tags:
|
||||||
- librem5
|
- librem5
|
||||||
|
|
||||||
|
.build_step: &build_step
|
||||||
|
script:
|
||||||
|
- 'echo "Build opts: ${BUILD_OPTS}"'
|
||||||
|
- meson ${BUILD_OPTS} . _build
|
||||||
|
- ninja -C _build
|
||||||
|
|
||||||
build:native:
|
build:native:
|
||||||
<<: *tags
|
<<: *tags
|
||||||
image: $IMAGE
|
image: $IMAGE
|
||||||
|
@ -33,9 +40,9 @@ build:native:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- _build
|
- _build
|
||||||
script:
|
variables:
|
||||||
- meson --werror . _build
|
BUILD_OPTS: -Dgtk_doc=true ${COMMON_BUILD_OPTS}
|
||||||
- ninja -C _build
|
<<: *build_step
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
@ -53,6 +60,23 @@ test:native:
|
||||||
variables:
|
variables:
|
||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
|
build-gtkdoc:
|
||||||
|
<<: *tags
|
||||||
|
image: $IMAGE
|
||||||
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build:native
|
||||||
|
<<: *build_step
|
||||||
|
script:
|
||||||
|
- ninja -C _build calls-doc
|
||||||
|
- mv _build/doc/html/ _reference/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- _reference
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
check-po:
|
check-po:
|
||||||
<<: *tags
|
<<: *tags
|
||||||
image: $IMAGE
|
image: $IMAGE
|
||||||
|
|
Loading…
Reference in a new issue