-
Notifications
You must be signed in to change notification settings - Fork 23
/
.gitlab-ci.yml
69 lines (65 loc) · 1.9 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
stages:
- test
- deploy
variables:
# Replace with your preferred file name of the resulting Flatpak bundle
BUNDLE: "org.gnome.Totem.Devel.flatpak"
GIT_SUBMODULE_STRATEGY: normal
FEDORA_DEPS:
redhat-rpm-config
meson
git
cairo-devel
desktop-file-utils
gcc-c++
gettext
gnome-desktop3-devel
grilo-devel
gsettings-desktop-schemas-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gstreamer1-plugins-good
gstreamer1-plugins-good-gtk
gtk3-devel
gtk-doc
itstool
libappstream-glib
liberation-sans-fonts
libhandy-devel
libpeas-devel
python3-gobject-devel
pylint
python3-devel
totem-pl-parser-devel
flatpak-builder
xorg-x11-server-Xvfb
build-fedora:
image: fedora:40
stage: test
tags:
- crun
before_script:
- dnf update -y
- dnf install --setopt=install_weak_deps=False -y $FEDORA_DEPS
script:
- meson _build -Dhelp=true -Denable-gtk-doc=true -Denable-python=yes -Dprofile=default
- G_MESSAGES_DEBUG=all xvfb-run -a -s "-screen 0 1024x768x24" ninja -C _build test
- ninja -C _build install
- G_MESSAGES_DEBUG=all xvfb-run -a -s "-screen 0 1024x768x24" ninja -C _build dist
artifacts:
when: always
name: "totem-${CI_COMMIT_REF_NAME}"
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
- "${CI_PROJECT_DIR}/_build/meson-dist"
flatpak:master:
extends: .flatpak
stage: test
variables:
# Replace with your manifest path
MANIFEST_PATH: "flatpak/org.gnome.Totem.Devel.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
# Replace with your application name, as written in the manifest
FLATPAK_MODULE: "totem"
APP_ID: "org.gnome.Totem.Devel"