Switch to spice-vdagent.service by default
[vd_agent.git] / .gitlab-ci.yml
blobc48ee8660acd520a84e09531ff8ba006ba5fcc81
1 image: fedora:latest
3 variables:
4   DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
5       bzip2 python3-pyparsing meson ninja-build gtk-doc glib2-devel
6       gettext gettext-devel libpciaccess-devel alsa-lib-devel
7       libXfixes-devel libX11-devel libXrandr-devel libXinerama-devel
8       gtk3-devel dbus-devel systemd-devel procps-ng libdrm-devel gtk4-devel
9       vulkan-headers
10   DISTCHECK_CONFIGURE_FLAGS:
11       --with-session-info=none
13 before_script:
14   - dnf install -y $DEPS_COMMON
15   - git clone https://gitlab.freedesktop.org/spice/spice-protocol.git
16   - meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
17   - ninja -C build-spice-protocol install
19 fedora-autotools:
20   script:
21   - ./autogen.sh
22   - make
23   - git clean -xfd
25   - ./autogen.sh --with-session-info=none
26   - make distcheck --environment-overrides
27   - git clean -xfd
29   - ./autogen.sh --with-session-info=systemd --with-init-script=systemd+redhat
30   - make
31   - make install
32   - make uninstall
33   - git clean -xfd
35   - ./autogen.sh --with-session-info=console-kit --with-init-script=redhat
36   - make
37   - make install
38   - make uninstall
39   - git clean -xfd
41   - ./autogen.sh --with-gtk=no --with-session-info=none
42   - make
43   - make install
44   - make uninstall
45   - git clean -xfd
47   - ./autogen.sh --with-gtk4
48   - make
49   - make install
50   - make uninstall
51   - git clean -xfd
53   artifacts:
54     expire_in: '1 week'
55     when: on_failure
56     paths:
57       - test-suite.log
58       - tests/test*.log