diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-01-03 19:13:15 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-01-03 23:05:41 -0500 |
commit | 3ec9f7eb060f904663911eb90ed7edffeeb6d24b (patch) | |
tree | efcb26182b3c960518c36dd573db179817f2cbd8 | |
parent | b7025751a441b1ae45516e06aedd42d888ca692f (diff) | |
download | libnice-3ec9f7eb060f904663911eb90ed7edffeeb6d24b.tar.gz |
gitlab-ci: Build gtk-doc and test install with meson
-rw-r--r-- | .gitlab-ci.yml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53fb192..b635fd2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,13 +69,14 @@ build meson: gobject-introspection-devel gstreamer1-devel redhat-rpm-config + gtk-doc except: - schedules before_script: - dnf install -y ${DEPENDENCIES} - mkdir -p "${CI_PROJECT_DIR}" script: - - meson --werror build/ + - meson --werror -Dgtk_doc=enabled --prefix=$PREFIX build/ - ninja -C build/ artifacts: paths: @@ -100,6 +101,7 @@ test meson: gobject-introspection-devel gstreamer1-devel redhat-rpm-config + gtk-doc before_script: - dnf install -y ${DEPENDENCIES} - mkdir -p "${CI_PROJECT_DIR}" @@ -111,6 +113,36 @@ test meson: paths: - build/meson-logs/ +doc-and-install meson: + stage: test + image: fedora + dependencies: + - build meson + except: + - schedules + variables: + PREFIX: "${CI_PROJECT_DIR}/libnice-prefix" + DEPENDENCIES: > + meson + net-tools + gnutls-devel + gupnp-igd-devel + glib2-devel + gobject-introspection-devel + gstreamer1-devel + redhat-rpm-config + gtk-doc + before_script: + - dnf install -y ${DEPENDENCIES} + - mkdir -p "${CI_PROJECT_DIR}" + script: + - ninja -C build libnice-doc + - ninja -C build/ install + - ls -lR ${PREFIX} + artifacts: + paths: + - build/docs/reference/libnice/html/ + submit-to-coverity: image: registry.freedesktop.org/libnice/libnice/build-tools/coverity:2017.07 stage: build |