mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
2893aec73b
The stage and job names can contain spaces and they are already used in job names. Let's replace underscore in cross_environemnt stage to make the pipeline output nicer.
77 lines
2 KiB
YAML
77 lines
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
|
|
|
|
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"
|
|
|
|
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
|
|
script:
|
|
- meson _build .
|
|
- cd _build
|
|
- ninja 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
|