include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' stages: - test - deploy variables: # Replace with your preferred file name of the resulting Flatpak bundle BUNDLE: "org.gnome.Totem.Devel.flatpak" GIT_SUBMODULE_STRATEGY: normal FEDORA_DEPS: redhat-rpm-config meson git cairo-devel desktop-file-utils clutter-devel clutter-gst3-devel clutter-gtk-devel gcc-c++ gettext gnome-desktop3-devel grilo-devel gsettings-desktop-schemas-devel gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-good gtk3-devel gtk-doc itstool libappstream-glib liberation-sans-fonts libpeas-devel pygobject3-devel python3-typed_ast pylint python3-devel totem-pl-parser-devel flatpak-builder xorg-x11-server-Xvfb totem-pl-parser-devel build-fedora: image: fedora:latest stage: test before_script: - dnf install -y $FEDORA_DEPS script: - meson _build - G_MESSAGES_DEBUG=all xvfb-run -a -s "-screen 0 1024x768x24" ninja -C _build test - ninja -C _build install flatpak:master: extends: .flatpak image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master stage: test variables: # Replace with your manifest path MANIFEST_PATH: "flatpak/org.gnome.Totem.Devel.json" RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo" # Replace with your application name, as written in the manifest FLATPAK_MODULE: "totem" # Make sure to keep this in sync with the Flatpak manifest, all arguments # are passed except the config-args because we build it ourselves MESON_ARGS: "-Denable-easy-codec-installation=no -Dprofile=development" APP_ID: "org.gnome.Totem.Devel" nightly: needs: ['flatpak:master'] dependencies: ['flatpak:master'] extends: '.publish_nightly'