mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
ci: Update flatpak job
Use `flatpak build` and point at the nightly repo when generating the bundle.
This commit is contained in:
parent
f2da5e5617
commit
4247bf0fb6
@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
appid=$1
|
appid=$1
|
||||||
|
|
||||||
builddir=app
|
builddir=flatpak_app
|
||||||
repodir=repo
|
repodir=repo
|
||||||
|
|
||||||
flatpak-builder \
|
flatpak-builder \
|
||||||
@ -12,12 +12,10 @@ flatpak-builder \
|
|||||||
${builddir} \
|
${builddir} \
|
||||||
build-aux/flatpak/${appid}.json
|
build-aux/flatpak/${appid}.json
|
||||||
|
|
||||||
flatpak-builder \
|
flatpak build ${builddir} meson \
|
||||||
--run ${builddir} build-aux/flatpak/${appid}.json \
|
--prefix=/app \
|
||||||
meson \
|
--libdir=/app/lib \
|
||||||
--prefix /app \
|
--buildtype=release \
|
||||||
--libdir /app/lib \
|
|
||||||
--buildtype release \
|
|
||||||
-Dx11-backend=true \
|
-Dx11-backend=true \
|
||||||
-Dwayland-backend=true \
|
-Dwayland-backend=true \
|
||||||
-Dprint-backends=file \
|
-Dprint-backends=file \
|
||||||
@ -27,9 +25,7 @@ flatpak-builder \
|
|||||||
-Ddemos=true \
|
-Ddemos=true \
|
||||||
_build .
|
_build .
|
||||||
|
|
||||||
flatpak-builder \
|
flatpak build ${builddir} ninja -C _build install
|
||||||
--run ${builddir} build-aux/flatpak/${appid}.json \
|
|
||||||
ninja -C _build install
|
|
||||||
|
|
||||||
flatpak-builder \
|
flatpak-builder \
|
||||||
--finish-only \
|
--finish-only \
|
||||||
@ -40,5 +36,5 @@ flatpak-builder \
|
|||||||
flatpak build-bundle \
|
flatpak build-bundle \
|
||||||
${repodir} \
|
${repodir} \
|
||||||
${appid}-dev.flatpak \
|
${appid}-dev.flatpak \
|
||||||
--runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \
|
--runtime-repo=https://nightly.gnome.org/gnome-nightly.flatpakrepo \
|
||||||
${appid}
|
${appid}
|
||||||
|
Loading…
Reference in New Issue
Block a user