2020-10-28 01:57:34 +01:00
|
|
|
include:
|
|
|
|
- project: 'gnome/citemplates'
|
|
|
|
file: 'flatpak/flatpak_ci_initiative.yml'
|
2019-09-03 00:07:06 +00:00
|
|
|
|
|
|
|
flatpak:
|
2020-10-28 01:57:34 +01:00
|
|
|
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master'
|
|
|
|
variables:
|
|
|
|
BUNDLE: "authenticator-nightly.flatpak"
|
|
|
|
MANIFEST_PATH: "build-aux/com.belmoussaoui.Authenticator.Devel.json"
|
|
|
|
FLATPAK_MODULE: "authenticator"
|
|
|
|
APP_ID: "com.belmoussaoui.Authenticator.Devel"
|
|
|
|
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
|
|
|
|
extends: '.flatpak'
|
2019-09-03 00:07:06 +00:00
|
|
|
|
|
|
|
rustfmt:
|
|
|
|
image: "rust:slim"
|
|
|
|
script:
|
|
|
|
- rustup component add rustfmt
|
|
|
|
- echo -e "" >> src/config.rs
|
2019-09-03 14:45:04 +02:00
|
|
|
- echo -e "" >> src/static_resources.rs
|
2019-09-03 00:07:06 +00:00
|
|
|
- rustc -Vv && cargo -Vv
|
|
|
|
- cargo fmt --version
|
|
|
|
- cargo fmt --all -- --color=always --check
|