Unverified Commit 6c1f07d8 authored by Julian Sparber's avatar Julian Sparber
Browse files

CI: add ci file

parent cd05cf04
Pipeline #129470 passed with stage
in 2 minutes and 19 seconds
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
variables:
GIT_SUBMODULE_STRATEGY: normal
BUNDLE: "com.frac_tion.teleport.flatpak"
.build_template: &distro_build
script:
- meson _build
- ninja -C _build install
stages:
- flatpak
- build
- review
- deploy
##################
# Fedora Rawhide #
##################
fedora:rawhide:
image: fedora:rawhide
stage: build
before_script:
- dnf install -y gcc meson ninja-build gettext gtk-doc glib2-devel gtk3-devel
gnome-online-accounts-devel libpeas-devel evolution-data-server-devel
rest-devel json-glib-devel
<<: *distro_build
only:
- schedules
- web
- tags
################
# Ubuntu Devel #
################
ubuntu:devel:
image: ubuntu:devel
stage: build
before_script:
# Ubuntu requires running update to fetch metadata and find packges
- apt update
- apt install -y gcc meson gettext gtk-doc-tools libglib2.0-dev git libgtk-3-dev
libgoa-1.0-dev libpeas-dev libecal1.2-dev libedataserver1.2-dev
librest-dev libjson-glib-dev
<<: *distro_build
only:
- schedules
- web
- tags
##################
# Flatpak Bundle #
##################
flatpak:master:
extends: .flatpak
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: flatpak
variables:
MANIFEST_PATH: "com.frac_tion.teleport.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
# Replace with your application name, as written in the manifest
FLATPAK_MODULE: "teleport"
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
MESON_ARGS: "-Dtracing=true -Dprofile=development"
APP_ID: "com.frac_tion.teleport"
review:
extends: .review
stage: review
dependencies:
- flatpak:master
stop_review:
extends: .stop_review
stage: review
flatpak:nightly:
extends: .publish_nightly
dependencies:
- flatpak:master
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