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