Initial Commit
The initial commit of gnome-image-viewer. Things are in an MVP state, with image viewing and opening from the desktop functional. We also can open images externally, print them, and set them as backgrounds.
This commit is contained in:
commit
f692ab5626
38 changed files with 3807 additions and 0 deletions
42
.gitlab-ci.yml
Normal file
42
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
|
||||
|
||||
stages:
|
||||
- check
|
||||
- test
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
BUNDLE: "org.gnome.ImageViewer.Devel.flatpak"
|
||||
MANIFEST_PATH: "build-aux/flatpak/org.gnome.ImageViewer.Devel.json"
|
||||
FLATPAK_MODULE: "gnome-image-viewer"
|
||||
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/
|
||||
|
||||
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 "" >> src/config.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.ImageViewer.Devel"
|
||||
|
||||
# nightly:
|
||||
# extends: '.publish_nightly'
|
||||
# dependencies: ['flatpak']
|
||||
# needs: ['flatpak']
|
||||
Loading…
Add table
Add a link
Reference in a new issue