mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
![Ondrej Holy](/assets/img/avatar_default.png)
The coverage is not computed since the commit a5a405d
, but .gitlab-ci.yml
still contains some coverage related code which is not currently used. Let's
remove that code to make it more readable.
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
|
|
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: normal
|
|
BUNDLE: "nautilus-dev.flatpak"
|
|
|
|
stages:
|
|
- triage
|
|
- test
|
|
- cross_environment
|
|
- deploy
|
|
|
|
.test_template: &distro_test
|
|
script:
|
|
- meson _build .
|
|
- cd _build
|
|
- ninja test
|
|
|
|
flatpak devel:
|
|
extends: '.flatpak'
|
|
stage: test
|
|
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
|
|
variables:
|
|
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus.yml"
|
|
MESON_ARGS: "-Dprofile=Devel -Dtests=all"
|
|
FLATPAK_MODULE: "nautilus"
|
|
RUNTIME_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
|
|
APP_ID: "org.gnome.NautilusDevel"
|
|
|
|
review:
|
|
dependencies:
|
|
- 'flatpak devel'
|
|
extends: '.review'
|
|
|
|
stop_review:
|
|
extends: '.stop_review'
|
|
|
|
nightly:
|
|
extends: '.publish_nightly'
|
|
dependencies:
|
|
- 'flatpak devel'
|
|
|
|
fedora rawhide:
|
|
image: fedora:rawhide
|
|
stage: cross_environment
|
|
before_script:
|
|
- dnf update -y --nogpgcheck
|
|
- dnf install -y 'dnf-command(builddep)' redhat-rpm-config libseccomp-devel gcovr --nogpgcheck
|
|
- dnf builddep -y nautilus --nogpgcheck
|
|
<<: *distro_test
|
|
only:
|
|
- schedules
|
|
- web
|
|
- tags
|
|
|
|
flatpak master:
|
|
stage: cross_environment
|
|
dependencies: []
|
|
variables:
|
|
MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusMaster.yml"
|
|
MESON_ARGS: "-Dprofile=Devel -Dtests=all"
|
|
FLATPAK_MODULE: "nautilus"
|
|
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
|
|
APP_ID: "org.gnome.NautilusDevel"
|
|
extends: .flatpak
|
|
only:
|
|
- schedules
|
|
- web
|
|
- tags
|
|
|
|
triage:
|
|
image: ruby:2.4
|
|
stage: triage
|
|
script:
|
|
- gem install gitlab-triage
|
|
- gitlab-triage --token $TRIAGE_BOT_TOKEN --project-id $CI_PROJECT_PATH --host-url https://gitlab.gnome.org
|
|
only:
|
|
- schedules
|
|
|
|
triage:dry-run:
|
|
image: ruby:2.4
|
|
stage: triage
|
|
script:
|
|
- gem install gitlab-triage
|
|
- gitlab-triage --dry-run --token $TRIAGE_BOT_TOKEN --project-id $CI_PROJECT_PATH --host-url https://gitlab.gnome.org
|
|
only:
|
|
- schedules
|
|
when: manual
|