1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-11 02:11:37 +01:00
Files
flashcards/.gitlab-ci.yml
2025-10-28 12:37:03 +01:00

24 lines
617 B
YAML

docs:
image: 123marvin123/typst:latest
stage: build
script:
- typst compile docs/main.typ Flashcards.pdf
artifacts:
paths:
- ./Flashcards.pdf
flatpak:
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-49
stage: build
variables:
APP_ID: "li.sopht.Flashcards"
BUNDLE: "${APP_ID}.flatpak"
MANIFEST: "${APP_ID}.json"
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
script:
- flatpak-builder app --repo=repo ${MANIFEST}
- flatpak build-bundle repo ${BUNDLE} ${APP_ID} --runtime-repo=${RUNTIME_REPO}
artifacts:
paths:
- ${BUNDLE}