1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-12 06:41:38 +01:00
This commit is contained in:
2025-02-06 00:36:01 +01:00
parent 7d7e269147
commit 0ce8f13639

View File

@@ -6,3 +6,14 @@ build:docs:
artifacts:
paths:
- ./Flashcards.pdf
build:flatpak:
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-47
variables:
APP_ID: "li.sopht.Flashcards"
BUNDLE: "${APP_ID}.flatpak"
MANIFEST_PATH: "${APP_ID}.json"
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
script:
- flatpak-builder ${CI_FB_ARGS} --keep-build-dirs --user --disable-rofiles-fuse --build-only flatpak_app --repo=repo ${MANIFEST_PATH}
- flatpak build-bundle --runtime-repo=${RUNTIME_REPO} repo ${BUNDLE} ${APP_ID}