[Spice-devel] [spice-protocol v2 2/6] gitlab-ci: add fedora meson+autotools
Victor Toso
victortoso at redhat.com
Wed Apr 10 10:20:54 UTC 2019
From: Victor Toso <me at victortoso.com>
Signed-off-by: Victor Toso <victortoso at redhat.com>
---
.gitlab-ci.yml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b3fad64
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,22 @@
+image: fedora:latest
+
+variables:
+ DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
+ python3-pyparsing meson ninja-build gtk-doc glib2-devel
+ gettext gettext-devel bzip2
+
+before_script:
+- dnf install -y $DEPS_COMMON
+
+fedora-autotools:
+ script:
+ # Run with default options
+ - ./autogen.sh
+ - make
+ - make distcheck
+
+fedora-meson:
+ script:
+ - meson --buildtype=release build-default
+ - ninja -C build-default
+ - ninja -C build-default dist
--
2.20.1
More information about the Spice-devel
mailing list