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:45:08 +01:00
parent 0ce8f13639
commit 7143160614

View File

@@ -1,4 +1,4 @@
build:docs: docs:
image: 123marvin123/typst:latest image: 123marvin123/typst:latest
stage: build stage: build
script: script:
@@ -7,13 +7,14 @@ build:docs:
paths: paths:
- ./Flashcards.pdf - ./Flashcards.pdf
build:flatpak: flatpak:
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-47 image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-47
stage: build
variables: variables:
APP_ID: "li.sopht.Flashcards" APP_ID: "li.sopht.Flashcards"
BUNDLE: "${APP_ID}.flatpak" BUNDLE: "${APP_ID}.flatpak"
MANIFEST_PATH: "${APP_ID}.json" MANIFEST_PATH: "${APP_ID}.json"
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo" RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
script: script:
- flatpak-builder ${CI_FB_ARGS} --keep-build-dirs --user --disable-rofiles-fuse --build-only flatpak_app --repo=repo ${MANIFEST_PATH} - flatpak-builder --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} - flatpak build-bundle repo ${BUNDLE} ${EXPORT_RUNTIME} --runtime-repo="${RUNTIME_REPO}" ${APP_ID}