mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 07:51:38 +01:00
20 lines
665 B
YAML
20 lines
665 B
YAML
build:docs:
|
|
image: 123marvin123/typst:latest
|
|
stage: build
|
|
script:
|
|
- typst compile docs/main.typ Flashcards.pdf
|
|
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}
|