d48e1a60d0
This has been failing since February 2020, and is not needed now that we don't roll our own API crate anymore.
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
|
|
|
|
stages:
|
|
- check
|
|
- test
|
|
- deploy
|
|
|
|
variables:
|
|
BUNDLE: "org.gnome.FractalDevel.flatpak"
|
|
MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"
|
|
FLATPAK_MODULE: "fractal"
|
|
FLATPAK_IMAGE: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master"
|
|
|
|
.flatpak_cache_template: &flatpak_cache
|
|
cache:
|
|
key: "flatpak"
|
|
paths:
|
|
- .flatpak-builder/cache/
|
|
- _build/target/
|
|
- target_docs/
|
|
- target_test/
|
|
|
|
check:
|
|
image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:stable"
|
|
stage: "check"
|
|
script:
|
|
# Create blank versions of our configured files
|
|
# so rustfmt does not yell about non-existent files or completely empty files
|
|
- echo -e "" >> fractal-gtk/src/config.rs
|
|
- echo -e "" >> fractal-gtk/src/static_resources.rs
|
|
- rustc -Vv && cargo -Vv
|
|
- cargo --version
|
|
- cargo fmt --all -- --check
|
|
|
|
flatpak:
|
|
extends: '.flatpak'
|
|
image: "$FLATPAK_IMAGE"
|
|
variables:
|
|
RUNTIME_REPO: 'https://nightly.gnome.org/gnome-nightly.flatpakrepo'
|
|
APP_ID: "org.gnome.FractalDevel"
|
|
|
|
nightly:
|
|
extends: '.publish_nightly'
|
|
dependencies: ['flatpak']
|
|
needs: ['flatpak']
|