Commit 56adb244 authored by Germán Poo-Caamaño's avatar Germán Poo-Caamaño

ci: Make flatpak-meson target the only flatpak build

Old flatpak could build only master, as flatpak-meson
build has replaced it (taking its name).

Long live the flatpak ci
parent 9cab3c4e
......@@ -67,25 +67,6 @@ gtk-doc:
flatpak:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: build
only:
refs:
- master
before_script:
- dnf install -y flatpak-builder flatpak
script:
- ./build-aux/flatpak/local-build.sh
artifacts:
when: on_success
paths:
- build-aux/flatpak/org.gnome.Evince.flatpak
expire_in: 2 days
flatpak-meson:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: build
variables:
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Evince.json"
......@@ -118,7 +99,7 @@ deploy:
stage: deploy
dependencies:
- flatpak-meson
- flatpak
script:
- echo "Generating flatpak deployment"
......
#!/bin/bash -e
scriptdir=`dirname $0`
olddir=`pwd`
cd $scriptdir
rm -f org.gnome.Evince.flatpak
rm -rf _build ; mkdir _build
rm -rf _repo ; mkdir _repo
flatpak-builder --ccache --force-clean _build org.gnome.Evince.json --repo=_repo
flatpak build-bundle _repo org.gnome.Evince.flatpak org.gnome.Evince master
cd $olddir
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