... | ... | @@ -12,19 +12,20 @@ For that, use the following template and replace the variables with the appropri |
|
|
stages:
|
|
|
- test
|
|
|
|
|
|
variables:
|
|
|
# Replace with your manifest path
|
|
|
MANIFEST_PATH: "build-aux/flatpak/org.gnome.AppName.json"
|
|
|
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
|
|
|
# Replace with your application name, as written in the manifest
|
|
|
FLATPAK_MODULE: "app-name"
|
|
|
# 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: "-Dtests=all"
|
|
|
|
|
|
flatpak:
|
|
|
image: registry.gitlab.gnome.org/gnome/gnome-nightly-oci/nightly:master
|
|
|
stage: test
|
|
|
|
|
|
variables:
|
|
|
# Replace with your manifest path
|
|
|
MANIFEST_PATH: "build-aux/flatpak/org.gnome.AppName.json"
|
|
|
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
|
|
|
# Replace with your application name, as written in the manifest
|
|
|
FLATPAK_MODULE: "app-name"
|
|
|
# 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: "-Dtests=all"
|
|
|
|
|
|
script:
|
|
|
- flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
|
|
|
- flatpak build app meson --prefix=/app ${MESON_ARGS} _build
|
... | ... | |