blob: 8290d9469c8a17d1bc253710f504a2de92b28156 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
stages:
- build
flatpak-build:
stage: build
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.28
only:
refs:
- master
- /^staging/.*$/
- /^flatpak/.*$/
variables:
APP_ID: "org.freedesktop.Bustle"
BUNDLE: "${APP_ID}.flatpak"
REPO: "repo"
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
script:
- flatpak-builder --repo ${REPO} app flatpak/${APP_ID}.yaml
- flatpak build-bundle --runtime-repo=${RUNTIME_REPO} ${REPO} ${BUNDLE} ${APP_ID}
artifacts:
paths:
- ${BUNDLE}
expire_in: 30 days
cache:
key: "flatpak-builder-cache"
paths:
- .flatpak-builder/cache
|