[Spice-devel] [linux-vdagent 3/4] gitlab-ci: add YAML file
Victor Toso
victortoso at redhat.com
Tue Jun 5 09:29:14 UTC 2018
From: Victor Toso <me at victortoso.com>
Including some basic building tests.
Signed-off-by: Victor Toso <victortoso at redhat.com>
---
.gitlab-ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..f0b77a7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,40 @@
+image: fedora:latest
+
+before_script:
+ - >
+ dnf install 'dnf-command(copr)' git libtool sudo make redhat-rpm-config bzip2
+ python3 python3-six python3-pyparsing
+ -y
+ - dnf copr enable @spice/nightly -y
+ - dnf builddep spice-vdagent -y
+
+make-check-distcheck:
+ script:
+ - ./autogen.sh
+ - make
+ - make check
+ - make distcheck
+ - make distclean
+
+configure-optional-packages:
+ script:
+ - ./autogen.sh --with-session-info=systemd --with-init-script=systemd+redhat
+ - make
+ - sudo make install
+ - sudo make uninstall
+ - make distclean
+
+ - ./autogen.sh --with-session-info=console-kit --with-init-script=redhat
+ - make
+ - sudo make install
+ - sudo make uninstall
+ - make distclean
+
+
+configure-without-optionals:
+ script:
+ - ./autogen.sh --with-gtk=no --with-session-info=none
+ - make
+ - sudo make install
+ - sudo make uninstall
+ - make distclean
--
2.17.0
More information about the Spice-devel
mailing list