-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
70 lines (59 loc) · 1.79 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_DEPTH: 1
FLATPAK_MODULE: 'decibels'
TARBALL_ARTIFACT_PATH: ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz"
.flatpak-local:
variables:
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Decibels.Devel.json"
BUNDLE: "org.gnome.Decibels.Devel.flatpak"
FLATPAK_MODULE: "decibels"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "org.gnome.Decibels.Devel"
before_script:
- flatpak --user install -y org.freedesktop.Sdk.Extension.node20//24.08 org.freedesktop.Sdk.Extension.typescript//24.08
flatpak@x86_64:
extends:
- .flatpak@x86_64
- .flatpak-local
flatpak@aarch64:
extends:
- .flatpak@aarch64
- .flatpak-local
# Publish to nightly repo
nightly@x86_64:
extends: ".publish_nightly"
stage: deploy
dependencies:
- flatpak@x86_64
nightly@aarch64:
extends: ".publish_nightly"
stage: deploy
dependencies:
- flatpak@aarch64
eslint:
image: quay.io/fedora/fedora:latest
variables:
LINT_LOG: "eslint-report.txt"
script:
- sudo dnf install -y npm
- npm install
- npx eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
artifacts:
paths:
- ${LINT_LOG}
when: on_failure
blueprint-format:
variables:
GIT_SUBMODULE_STRATEGY: none
image: quay.io/fedora/fedora:latest
script:
- sudo dnf install -y --enablerepo=updates-testing --best blueprint-compiler
- blueprint-compiler format data