From d32e61993afafba7f9b07ca9c932564aed32ba45 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Thu, 20 Sep 2018 09:46:39 +0700 Subject: gitlab-ci: Create two different jobs for autotools and meson builds Signed-off-by: Arnaud Rebillout --- .gitlab-ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5362f122a..cd80c455a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ image: registry.freedesktop.org/pulseaudio/pulseaudio/ubuntu:18.04 -build: +build-autotools: stage: build script: - export MAKEFLAGS="-j$(nproc)" @@ -13,10 +13,17 @@ build: - make check-daemon - ulimit -c 0 # don't dump core files on tests that are supposed to assert - make distcheck - - cd .. - - meson . build-meson - - ninja -C build-meson artifacts: paths: - build/ - - build-meson/ + +build-meson: + stage: build + script: + - meson build + - cd build + - ninja + - ninja test + artifacts: + paths: + - build/ -- cgit v1.2.1