Commit db303173 authored by Olivier Crête's avatar Olivier Crête

gitlab-ci: Add meson tests to build

parent 220cdae2
image: registry.freedesktop.org/libnice/libnice/build-tools:centos-7 image: registry.freedesktop.org/libnice/libnice/build-tools:centos-7
stages: stages:
- build - build
- test
build autotools: build autotools:
stage: build stage: build
...@@ -35,7 +36,6 @@ build meson: ...@@ -35,7 +36,6 @@ build meson:
PREFIX: "${CI_PROJECT_DIR}/libnice-prefix" PREFIX: "${CI_PROJECT_DIR}/libnice-prefix"
DEPENDENCIES: > DEPENDENCIES: >
meson meson
net-tools
gnutls-devel gnutls-devel
gupnp-igd-devel gupnp-igd-devel
glib2-devel glib2-devel
...@@ -51,6 +51,36 @@ build meson: ...@@ -51,6 +51,36 @@ build meson:
- meson --werror build/ - meson --werror build/
- ninja -C build/ - ninja -C build/
artifacts: artifacts:
paths:
- build/
test meson:
image: 'fedora'
stage: test
allow_failure: true
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
before_script:
- dnf install -y ${DEPENDENCIES}
- mkdir -p "${CI_PROJECT_DIR}"
script:
- ifconfig
- meson test -C build --print-errorlogs
artifacts:
when: on_failure
paths: paths:
- build/meson-logs/ - build/meson-logs/
......
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