CI: Build with development profile

This commit is contained in:
Alexander Mikhaylenko 2018-08-24 04:19:20 +05:00
parent 3bb750fa9f
commit 412b733409

View file

@ -4,11 +4,11 @@ stages:
- deploy - deploy
variables: variables:
BUNDLE: "org.gnome.Fractal.${CI_COMMIT_SHA}.flatpak" BUNDLE: "org.gnome.FractalDevel.${CI_COMMIT_SHA}.flatpak"
MANIFEST_PATH: "flatpak/org.gnome.Fractal.json" MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"
MANIFEST_PATH: "flatpak/org.gnome.Fractal.json" MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"
FLATPAK_MODULE: "fractal" FLATPAK_MODULE: "fractal"
DBUS_ID: "org.gnome.Fractal" DBUS_ID: "org.gnome.FractalDevel"
.flatpak_cache_template: &flatpak_cache .flatpak_cache_template: &flatpak_cache
cache: cache:
@ -29,7 +29,7 @@ flatpak:
- flatpak-builder --run app ${MANIFEST_PATH} glib-compile-resources --sourcedir=fractal-gtk/res/ fractal-gtk/res/resources.xml - flatpak-builder --run app ${MANIFEST_PATH} glib-compile-resources --sourcedir=fractal-gtk/res/ fractal-gtk/res/resources.xml
# Build the flatpak repo # Build the flatpak repo
- flatpak-builder --run app ${MANIFEST_PATH} meson --prefix=/app _build - flatpak-builder --run app ${MANIFEST_PATH} meson --prefix=/app -Dprofile=development _build
- flatpak-builder --run app ${MANIFEST_PATH} ninja -C _build install - flatpak-builder --run app ${MANIFEST_PATH} ninja -C _build install
# Run the tests # Run the tests