blob: cc19d59133fad887c3f89b44f18dbe22382fe856 (
plain)
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
70
71
72
73
74
75
|
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
clutter-devel
clutter-gst3-devel
clutter-gtk-devel
gcc-c++
gettext
gnome-desktop3-devel
grilo-devel
gsettings-desktop-schemas-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gstreamer1-plugins-good
gtk3-devel
gtk-doc
itstool
libappstream-glib
liberation-sans-fonts
libpeas-devel
pygobject3-devel
pylint
python3-devel
totem-pl-parser-devel
flatpak-builder
xorg-x11-server-Xvfb
build-fedora:
image: fedora:36
stage: test
before_script:
- dnf install --setopt=install_weak_deps=False -y $FEDORA_DEPS
# See https://bugzilla.redhat.com/show_bug.cgi?id=1896438
- dnf remove -y pylint
script:
- meson _build -Dhelp=true -Denable-gtk-doc=true -Denable-easy-codec-installation=yes -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
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
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"
nightly:
needs: ['flatpak:master']
dependencies: ['flatpak:master']
extends: '.publish_nightly'
|