-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.gitlab-ci.yml
55 lines (46 loc) · 1.33 KB
/
.gitlab-ci.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-FileCopyrightText: 2019-2025 Mahjongg Contributors
# SPDX-License-Identifier: GPL-2.0-or-later
include:
- project: 'gnome/citemplates'
file: 'flatpak/flatpak_ci_initiative.yml'
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
inputs:
dist-job-name: 'flatpak@x86_64'
tarball-artifact-path: '${TARBALL_ARTIFACT_PATH}'
variables:
APP_ID: 'org.gnome.Mahjongg.Devel'
BUNDLE: 'org.gnome.Mahjongg.Devel.flatpak'
RUNTIME_REPO: 'https://nightly.gnome.org/gnome-nightly.flatpakrepo'
MANIFEST_PATH: 'build-aux/flatpak/org.gnome.Mahjongg.Devel.json'
FLATPAK_MODULE: 'gnome-mahjongg'
TARBALL_ARTIFACT_PATH: '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz'
stages:
- lint
- build
- deploy
reuse-lint:
image:
name: fsfe/reuse:latest
entrypoint: [""]
stage: lint
script:
- reuse lint
vala-lint:
image: valalang/lint:latest
stage: lint
script:
- io.elementary.vala-lint src
flatpak@x86_64:
extends: '.flatpak@x86_64'
stage: build
flatpak@aarch64:
extends: '.flatpak@aarch64'
stage: build
nightly@x86_64:
extends: '.publish_nightly'
stage: deploy
needs: ['flatpak@x86_64']
nightly@aarch64:
extends: '.publish_nightly'
stage: deploy
needs: ['flatpak@aarch64']