Commit 6013078e authored by Victor Toso's avatar Victor Toso

gitlab-ci: add YAML file

Including some basic building tests.
Signed-off-by: 's avatarVictor Toso <victortoso@redhat.com>
Acked-by: Christophe Fergeau's avatarChristophe Fergeau <cfergeau@redhat.com>
parent 7ddd30ee
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment