Commit 3ec9f7eb authored by Olivier Crête's avatar Olivier Crête

gitlab-ci: Build gtk-doc and test install with meson

parent b7025751
...@@ -69,13 +69,14 @@ build meson: ...@@ -69,13 +69,14 @@ build meson:
gobject-introspection-devel gobject-introspection-devel
gstreamer1-devel gstreamer1-devel
redhat-rpm-config redhat-rpm-config
gtk-doc
except: except:
- schedules - schedules
before_script: before_script:
- dnf install -y ${DEPENDENCIES} - dnf install -y ${DEPENDENCIES}
- mkdir -p "${CI_PROJECT_DIR}" - mkdir -p "${CI_PROJECT_DIR}"
script: script:
- meson --werror build/ - meson --werror -Dgtk_doc=enabled --prefix=$PREFIX build/
- ninja -C build/ - ninja -C build/
artifacts: artifacts:
paths: paths:
...@@ -100,6 +101,7 @@ test meson: ...@@ -100,6 +101,7 @@ test meson:
gobject-introspection-devel gobject-introspection-devel
gstreamer1-devel gstreamer1-devel
redhat-rpm-config redhat-rpm-config
gtk-doc
before_script: before_script:
- dnf install -y ${DEPENDENCIES} - dnf install -y ${DEPENDENCIES}
- mkdir -p "${CI_PROJECT_DIR}" - mkdir -p "${CI_PROJECT_DIR}"
...@@ -111,6 +113,36 @@ test meson: ...@@ -111,6 +113,36 @@ test meson:
paths: paths:
- build/meson-logs/ - 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: submit-to-coverity:
image: registry.freedesktop.org/libnice/libnice/build-tools/coverity:2017.07 image: registry.freedesktop.org/libnice/libnice/build-tools/coverity:2017.07
stage: build stage: build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment