[linux-vdagent 3/4] gitlab-ci: add YAML file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Victor Toso <me@xxxxxxxxxxxxxx>

Including some basic building tests.

Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
---
 .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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]