ci: Update flatpak jobs

The CI infrastructure was changed to run with fewer privileges, so we
need to adapt our Flatpak jobs to compensate.

See: https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html
This commit is contained in:
Emmanuele Bassi 2020-02-19 15:04:58 +00:00
parent 5097c1defc
commit 3a054d5a90
2 changed files with 6 additions and 2 deletions

View File

@ -116,6 +116,8 @@ msys2-mingw32:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: flatpak stage: flatpak
allow_failure: true allow_failure: true
tags:
- flatpak
artifacts: artifacts:
paths: paths:
- "${APPID}-dev.flatpak" - "${APPID}-dev.flatpak"

View File

@ -8,6 +8,7 @@ builddir=flatpak_app
repodir=repo repodir=repo
flatpak-builder \ flatpak-builder \
--user --disable-rofiles-fuse \
--stop-at=gtk \ --stop-at=gtk \
${builddir} \ ${builddir} \
build-aux/flatpak/${appid}.json build-aux/flatpak/${appid}.json
@ -23,11 +24,12 @@ flatpak build ${builddir} meson \
-Dbuild-examples=false \ -Dbuild-examples=false \
-Dintrospection=false \ -Dintrospection=false \
-Ddemos=true \ -Ddemos=true \
_build . _flatpak_build
flatpak build ${builddir} ninja -C _build install flatpak build ${builddir} ninja -C _flatpak_build install
flatpak-builder \ flatpak-builder \
--user --disable-rofiles-fuse \
--finish-only \ --finish-only \
--repo=${repodir} \ --repo=${repodir} \
${builddir} \ ${builddir} \