-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
38 lines (32 loc) · 981 Bytes
/
.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
include:
- project: 'gnome/citemplates'
file: 'flatpak/flatpak-ci-initiative-sdk-extensions.yml'
# ref: ''
.flatpak-vars:
variables:
MANIFEST_PATH: "org.gnome.Podcasts.Devel.json"
FLATPAK_MODULE: "gnome-podcasts"
MESON_ARGS: "-Dprofile=development"
APP_ID: "org.gnome.Podcasts.Devel"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
BUNDLE: "org.gnome.Podcasts.Devel.flatpak"
flatpak@x86_64:
extends: [".flatpak@x86_64", ".flatpak-vars"]
flatpak@aarch64:
extends: [".flatpak@aarch64", ".flatpak-vars"]
nightly@x86_64:
extends: ".publish_nightly"
needs: ["flatpak@x86_64"]
nightly@aarch64:
extends: ".publish_nightly"
needs: ["flatpak@aarch64"]
# Configure and run rustfmt
# Exits and builds fails if on bad format
rustfmt:
image: "rust:slim"
stage: ".pre"
script:
- rustup component add rustfmt
- rustc -Vv && cargo -Vv
- cargo fmt --version
- cargo fmt --all -- --color=always --check