-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.gitlab-ci.yml
51 lines (49 loc) · 1.34 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
image: fedora:rawhide
variables:
DEPENDENCIES:
gtk-doc
gobject-introspection-devel
gtk4-devel
sassc
libadwaita-devel
systemd-devel
gsound-devel
libnotify-devel
upower-devel
meson
redhat-rpm-config
gcc
glibc-devel
git
GIT_SUBMODULE_STRATEGY: recursive
TEST_DEPS:
dbus-daemon
python3-gobject-base
python3-dbus
python3-dbusmock
python3-packaging
DEPENDENCIES_ABI_CHECK:
libabigail
LAST_ABI_BREAK: "cbc08c4f293664e681b1646e794e7cf62782c6cc"
build_stable:
tags:
- crun
before_script:
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $DEPENDENCIES $TEST_DEPS
script:
- meson . _build --prefix=/usr -Dgtk_doc=true -Dintrospection=true -Dsendto=true
- ninja -C _build
- ninja -C _build install
- 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"
- "${CI_PROJECT_DIR}/_build/meson-private/dist-build/meson-logs/"