summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: da4034e714cb0ff322cfc5e7d925c8c02b689d38 (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
image: fedora:latest

variables:
  DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
      bzip2 python3-pyparsing meson ninja-build gtk-doc glib2-devel
      gettext gettext-devel libpciaccess-devel alsa-lib-devel
      libXfixes-devel libX11-devel libXrandr-devel libXinerama-devel
      gtk3-devel dbus-devel systemd-devel procps-ng libdrm-devel gtk4-devel

before_script:
  - dnf install -y $DEPS_COMMON
  - git clone https://gitlab.freedesktop.org/spice/spice-protocol.git
  - meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
  - ninja -C build-spice-protocol install

fedora-autotools:
  script:
  - ./autogen.sh
  - make
  - make check
  - make distcheck
  - git clean -xfd

  - ./autogen.sh --with-session-info=systemd --with-init-script=systemd+redhat
  - make
  - make install
  - make uninstall
  - git clean -xfd

  - ./autogen.sh --with-session-info=console-kit --with-init-script=redhat
  - make
  - make install
  - make uninstall
  - git clean -xfd

  - ./autogen.sh --with-gtk=no --with-session-info=none
  - make
  - make install
  - make uninstall
  - git clean -xfd

  - ./autogen.sh --with-gtk4
  - make
  - make install
  - make uninstall
  - git clean -xfd