From 6021cea49c5596a8f4fab233e16c707ccb3c4f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Thu, 9 Mar 2023 23:41:09 +0100 Subject: [PATCH] ci: use meson to run tests --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cfd0d012..3c5257f62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -179,7 +179,7 @@ include: - echo "Building with meson options $MESON_OPTIONS" - meson setup "$BUILD_DIR" --prefix="$PREFIX" $MESON_OPTIONS - ninja $NINJA_ARGS -C "$BUILD_DIR" - - ninja $NINJA_ARGS -C "$BUILD_DIR" test + - meson test -C "$BUILD_DIR" --no-rebuild - ninja $NINJA_ARGS -C "$BUILD_DIR" install artifacts: name: pipewire-$CI_COMMIT_SHA @@ -314,7 +314,7 @@ build_with_custom_options: - echo "Building with -D$MESON_OPTION=$MESON_OPTION_VALUE" - meson setup "$BUILD_DIR" --prefix="$PREFIX" "-D$MESON_OPTION=$MESON_OPTION_VALUE" -Dsession-managers=[] - ninja $NINJA_ARGS -C "$BUILD_DIR" - - ninja $NINJA_ARGS -C "$BUILD_DIR" test + - meson test -C "$BUILD_DIR" --no-rebuild # A release build with NDEBUG, all options on auto() but tests explicitly # enabled. This should show issues with tests failing due to different