Loupe/.gitlab-ci.yml
Christopher Davis fa513596b2 CI: Update configuration
Update:
 * images
 * template path
 * flatpak stage configuration
2022-07-30 17:55:17 -04:00

23 lines
No EOL
725 B
YAML

include:
- project: "GNOME/citemplates"
file: "flatpak/flatpak-ci-initiative-sdk-extensions.yml"
flatpak:
variables:
BUNDLE: "org.gnome.Loupe.Devel.flatpak"
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Loupe.Devel.json"
FLATPAK_MODULE: "loupe"
APP_ID: "org.gnome.Loupe.Devel"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
extends: ".flatpak"
rustfmt:
image: "rust:slim"
script:
- rustup component add rustfmt
# Create blank versions of our configured files
# so rustfmt does not yell about non-existent files or completely empty files
- echo -e "" >> src/config.rs
- rustc -Vv && cargo -Vv
- cargo fmt --version
- cargo fmt --all -- --check