[epiphany/mcatanzaro/headless-ci] experiment with mutter
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/headless-ci] experiment with mutter
- Date: Wed, 1 Dec 2021 16:01:35 +0000 (UTC)
commit 8cf2fa126afa1d5e02638ee1b11e04e70c302ca4
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Wed Dec 1 10:01:01 2021 -0600
experiment with mutter
.gitlab-ci.yml | 29 +++++++++++++++++++++++++++++
tests/ephy-web-view-test.c | 3 ---
2 files changed, 29 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71a55d6d5..463342529 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,35 @@ flatpak:
except:
- master
- gnome-*
+ script:
+ # Report the installed versions of the runtime
+ - flatpak info org.gnome.Platform
+ - flatpak info org.gnome.Sdk
+
+ # Print the date, since appstream depends on local timezone
+ - date && date -u
+
+ - rewrite-flatpak-manifest ${MANIFEST_PATH} ${FLATPAK_MODULE} ${CONFIG_OPTS}
+ - flatpak-builder --user --disable-rofiles-fuse flatpak_app --repo=repo
${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
+ # Generate a Flatpak bundle
+ - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
+ - tar cf repo.tar repo/
+
+ # Run automatic tests inside the Flatpak env
+ # we need to recreate the build directory because cleanup would have deleted build dependencies
+ - rm -rf flatpak_app
+ - flatpak-builder --user --disable-rofiles-fuse --build-only flatpak_app ${MANIFEST_PATH}
+ - flatpak build-finish --socket=x11 --share=network flatpak_app
+ - >
+ mutter --wayland --headless --virtual-monitor "1280x720"
+ flatpak-builder --user --disable-rofiles-fuse --build-shell=${FLATPAK_MODULE} flatpak_app
${MANIFEST_PATH} <<END
+
+ LANG=C.UTF-8
+ NO_AT_BRIDGE=1
+ dbus-run-session
+ meson test --no-stdsplit --print-errorlogs ${TEST_RUN_ARGS}
+
+ END
flatpak stable:
extends: '.flatpak'
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index 3c359237e..05b6558aa 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -486,9 +486,6 @@ main (int argc,
int ret;
SoupServer *server;
- /* FIXME: disable AC mode for now for WebView tests because CI doesn't support it. */
- g_setenv ("WEBKIT_DISABLE_COMPOSITING_MODE", "1", FALSE);
-
gtk_test_init (&argc, &argv);
ephy_debug_init ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]