Commit bc2b2f96 authored by Sophie Herold's avatar Sophie Herold
Browse files

Use profile=dev for most CI

parent 6beec415
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
include: https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml
flatpak:
extends: .flatpak
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.36'
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.36
variables:
MANIFEST_PATH: "build-aux/ci.manifest.yml"
MESON_ARGS: "-Dprofile=dev"
FLATPAK_MODULE: "pika-backup"
APP_ID: "org.gnome.gitlab.sophie_h.PikaBackup"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
BUNDLE: "pika-backup-dev.flatpak"
RUNTIME_REPO: https://nightly.gnome.org/gnome-nightly.flatpakrepo
APP_ID: org.gnome.gitlab.sophie_h.PikaBackup"
FLATPAK_MODULE: pika-backup
MANIFEST_PATH: build-aux/ci.manifest.yml
BUNDLE: pika-backup-dev.flatpak
nightly:
extends: '.publish_nightly'
dependencies: ['flatpak']
extends: .publish_nightly
dependencies:
- flatpak
release:
flathub:
extends: flatpak
rules:
- if: $CI_COMMIT_TAG
variables:
MANIFEST_PATH: "build-aux/flathub.manifest.yml"
MESON_ARGS: ""
MANIFEST_PATH: build-aux/flathub.manifest.yml
BUNDLE: pika-backup-flathub.flatpak
......@@ -70,7 +70,9 @@ modules:
- name: pika-backup
buildsystem: meson
config-opts:
- "-Dprofile=dev"
sources:
- type: dir
path: ../
- type: dir
path: ../
......@@ -2,6 +2,7 @@
sed '0,/share=network/{//d;}' ci.manifest.yml\
| sed '0,/build-args/{//d;}' \
| sed 's/-Dprofile=dev/-Dprofile=release/' \
| sed 's/type: dir/type: archive/' \
| sed 's/path: ..\//url: \n sha256: /' \
| sed 's/path: ..\//url: \n sha256: /' \
> flathub.manifest.yml
......@@ -68,8 +68,10 @@ modules:
- name: pika-backup
buildsystem: meson
config-opts:
- "-Dprofile=release"
sources:
- type: archive
url: https://gitlab.gnome.org/sophie-h/pika-backup/uploads/7b4486a41da0f490807138e6d467064e/pika-backup-0.1.0-beta.3.tar.xz
sha256: 92c054443b38def5da8225c9a1261f603df33a0b96cefe89450e3bca2f22c5fa
- type: archive
url: https://gitlab.gnome.org/sophie-h/pika-backup/uploads/7b4486a41da0f490807138e6d467064e/pika-backup-0.1.0-beta.3.tar.xz
sha256: 92c054443b38def5da8225c9a1261f603df33a0b96cefe89450e3bca2f22c5fa
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