Commit 3e8fdb4a authored by Isaque Galdino de Araujo's avatar Isaque Galdino de Araujo
Browse files

project: Add Flatpak CI

parent 1fb7b1a5
Pipeline #32557 failed with stage
in 7 minutes and 36 seconds
- test
stage: test
# Replace with your manifest path
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Notes.json"
# Replace with your application name, as written in the manifest
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
# CONFIGURE_ARGS: "-Dtests=all"
- flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
- flatpak build app meson --prefix=/app ${CONFIGURE_ARGS} _build
- flatpak build app ninja -C _build install
# Run tests inside the Flatpak env emulating a display
- xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment