forked from GNOME/vala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
57 lines (45 loc) · 1.68 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
include: "https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml"
.flatpak rules:
rules:
- if: $CI_COMMIT_BRANCH == "main" && $REPO_TOKEN && ($CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule")
.vars-extension:
extends: ".flatpak rules"
variables:
MANIFEST_PATH: "build-aux/flatpak/org.freedesktop.Sdk.Extension.vala-nightly.yml"
FLATPAK_MODULE: "valac"
APP_ID: "org.freedesktop.Sdk.Extension.vala-nightly"
BUNDLE: "vala-extension.flatpak"
EXPORT_RUNTIME: "--runtime"
RUN_TESTS: "no"
.vars-22.08:
extends: [".vars-extension"]
# Use the image from the last stable runtime that includes 22.08 sdk
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-44'
variables:
BRANCH: "22.08"
.vars-23.08:
extends: [".vars-extension"]
variables:
BRANCH: "23.08"
before_script:
- sed -i "s/22.08/$BRANCH/g" $MANIFEST_PATH
[email protected]@x86_64:
extends: [".flatpak@x86_64", ".vars-22.08"]
[email protected]@x86_64:
extends: [".flatpak@x86_64", ".vars-23.08"]
[email protected]@aarch64:
extends: [".flatpak@aarch64", ".vars-22.08"]
[email protected]@aarch64:
extends: [".flatpak@aarch64", ".vars-23.08"]
[email protected]@x86_64:
extends: [".publish_nightly", ".flatpak rules"]
needs: ["[email protected]@x86_64"]
[email protected]@x86_64:
extends: [".publish_nightly", ".flatpak rules"]
needs: ["[email protected]@x86_64"]
[email protected]@aarch64:
extends: [".publish_nightly", ".flatpak rules"]
needs: ["[email protected]@aarch64"]
[email protected]@aarch64:
extends: [".publish_nightly", ".flatpak rules"]
needs: ["[email protected]@aarch64"]