From 6f74dc1375af2a544f7d4131958eda6d487dda28 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 18 Oct 2021 08:18:07 +1000 Subject: [PATCH] ci: add a build job for the various session managers we build We allow those jobs to fail so a theoretical issue in the session managers doesn't prevent our pipeline from completing. The failure could however be due to our integration of the session managers, so failures should still be inspected nonetheless. --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95b6f721b..dc01d6dc7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -234,6 +234,21 @@ build_release: matrix: - CC: [gcc, clang] +build_session_managers: + extends: + - .build_on_fedora + script: + - echo "Building with meson options $MESON_OPTIONS" + - meson "$BUILD_DIR" . --prefix="$PREFIX" $MESON_OPTIONS + - ninja -C "$BUILD_DIR" + - ninja -C "$BUILD_DIR" install + variables: + MESON_OPTIONS: "-Dsession-managers=$SESSION_MANAGERS" + parallel: + matrix: + - SESSION_MANAGERS: ["[]", "wireplumber", "media-session", "media-session,wireplumber", "wireplumber,media-session" ] + allow_failure: true + valgrind: extends: - .build_on_fedora