diff --git a/.forgejo/workflows/desktop.yml b/.forgejo/workflows/desktop.yml index 3f559c7..b012b6e 100644 --- a/.forgejo/workflows/desktop.yml +++ b/.forgejo/workflows/desktop.yml @@ -83,6 +83,33 @@ jobs: (cd /tmp && rm -rf squashfs-root && "$GITHUB_WORKSPACE/out/storebound_${V}_amd64.AppImage" --appimage-extract >/dev/null && squashfs-root/usr/bin/storebound-desktop --self-test) rm -rf /tmp/deb && dpkg-deb -x "out/storebound_${V}_amd64.deb" /tmp/deb && /tmp/deb/usr/bin/storebound-desktop --self-test dpkg-deb -I "out/storebound_${V}_amd64.deb" | sed -n '1,20p' + - name: Start the app under Xvfb (AppImage and deb) + # --self-test checks only the sidecar; this opens the real window (GTK, WebKitGTK, the bundled libraries of the + # AppImage) on a virtual display. "sidecar started" in host.log means the webview ran the UI and called the host. + run: | + sudo apt-get install -y -qq --no-install-recommends xvfb xauth dbus-x11 >/dev/null + V=$(bun tools/desktop-version.ts --print) + smoke() { #