diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3de180d01..c7e2a7243 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -255,7 +255,7 @@ build-without-native-backend-and-wayland@x86_64: stage: test script: - dbus-run-session -- xvfb-run -a -s "$XVFB_SERVER_ARGS" - ./.gitlab-ci/run-tests.sh + ./.gitlab-ci/run-meson.sh test -C build --no-rebuild -t 10 artifacts: expire_in: 1 day reports: @@ -354,7 +354,8 @@ dist-mutter: needs: - build-mutter@x86_64 script: - - dbus-run-session -- xvfb-run -a -s "$XVFB_SERVER_ARGS" meson dist -C build + - dbus-run-session -- xvfb-run -a -s "$XVFB_SERVER_ARGS" + ./.gitlab-ci/run-meson.sh dist -C build rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: diff --git a/.gitlab-ci/run-meson.sh b/.gitlab-ci/run-meson.sh new file mode 100755 index 000000000..16a20f621 --- /dev/null +++ b/.gitlab-ci/run-meson.sh @@ -0,0 +1,8 @@ +#!/usr/bin/bash + +set -e + +wireplumber & +sleep 1 + +catchsegv meson "$@" diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh deleted file mode 100755 index fb72df251..000000000 --- a/.gitlab-ci/run-tests.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/bash - -set -e - -wireplumber & -sleep 1 - -catchsegv meson test -C build --no-rebuild -t 10