-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
39 lines (35 loc) · 879 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
39
include:
- project: 'gnome/citemplates'
file: 'flatpak/flatpak-ci-initiative-sdk-extensions.yml'
# ref: ''
stages:
- check
- test
- deploy
flatpak:
extends: ".flatpak"
variables:
APP_ID: "io.bassi.Amberol.Devel"
BUNDLE: "io.bassi.Amberol.Devel.flatpak"
FLATPAK_MODULE: "amberol"
MANIFEST_PATH: "io.bassi.Amberol.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
rust-fmt:
image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:stable"
stage: "check"
needs: []
script:
- echo -e "" > src/config.rs
- rustc -Vv && cargo -Vv
- cargo --version
- cargo fmt --all -- --check
reuse:
image: fedora:latest
stage: "check"
needs: []
before_script:
- export PATH="$HOME/.local/bin:$PATH"
- dnf install -y python3-pip
script:
- pip install --user reuse
- reuse lint