blob: 2326767ffa6d6467eb85bbe9359f6bb020efa961 (
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
|
image: fedora:rawhide
variables:
DEPENDENCIES:
gtk-doc
gobject-introspection-devel
gtk4-devel
libadwaita-devel
systemd-devel
gsound-devel
libnotify-devel
meson
redhat-rpm-config
gcc
glibc-devel
git
GIT_SUBMODULE_STRATEGY: recursive
TEST_DEPS:
dbus-daemon
python3-gobject-base
python3-dbus
DEPENDENCIES_ABI_CHECK:
libabigail
LAST_ABI_BREAK: "e2bdd3e255475698e0e5314d7e09fff0c9b78398"
build_stable:
before_script:
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $DEPENDENCIES
script:
- meson . _build --prefix=/usr -Dicon_update=true -Dgtk_doc=true -Dintrospection=true -Dsendto=true
- ninja -C _build
- ninja -C _build install
# Install newer python-dbusmock
- git clone https://github.com/martinpitt/python-dbusmock.git
- cd python-dbusmock
- python3 setup.py build
- python3 setup.py install
- cd ..
- dnf install -y $TEST_DEPS
- ninja -C _build test
- .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml
- ninja -C _build dist
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
- dnf install -y $DEPENDENCIES_ABI_CHECK
- check-abi --suppr .ci/gbt.suppr ${LAST_ABI_BREAK} $(git rev-parse HEAD)
artifacts:
when: always
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs/"
- "${CI_PROJECT_DIR}/_build/meson-dist"
|