[epiphany/mcatanzaro/hardware-acceleration-policy] experiment: try using weston instead of xvfb-run
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/hardware-acceleration-policy] experiment: try using weston instead of xvfb-run
- Date: Tue, 30 Nov 2021 22:37:53 +0000 (UTC)
commit cf4c884b3dd0434fc62f2745df1d717b76392d66
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Tue Nov 30 16:37:41 2021 -0600
experiment: try using weston instead of xvfb-run
.gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71a55d6d5..21342a477 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,36 @@ 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
+ - >
+ weston --backend=headless-backend.so
+ 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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]