Commit d22009f6 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

ci: use the sdk template

parent c4abd676
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak-ci-initiative-sdk-extensions.yml'
stages:
- lint
- test
- deploy
variables:
BUNDLE: "contrast-nightly.flatpak"
include:
- project: 'gnome/citemplates'
file: 'flatpak/flatpak-ci-initiative-sdk-extensions.yml'
flatpak:
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master"
extends: '.flatpak'
variables:
MANIFEST_PATH: "build-aux/org.gnome.design.ContrastDevel.json"
FLATPAK_MODULE: "contrast"
MESON_ARGS: "-Dprofile=development"
APP_ID: "org.gnome.design.ContrastDevel"
review:
dependencies:
- flatpak
extends: '.review'
stop_review:
extends: '.stop_review'
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master'
variables:
BUNDLE: "contrast-nightly.flatpak"
MANIFEST_PATH: "build-aux/org.gnome.design.ContrastDevel.json"
FLATPAK_MODULE: "contrast"
MESON_ARGS: "-Dprofile=development"
APP_ID: "org.gnome.design.ContrastDevel"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
extends: '.flatpak'
# Configure and run rustfmt
# Exits and builds fails if on bad format
rustfmt:
image: "rust:slim"
stage: "lint"
stage: ".pre"
script:
- rustup component add rustfmt
# Create blank versions of our configured files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment