[libdmapsharing] .gitlab-ci.yml: use -Werror and build for both Avahi and dns_sd



commit a9288d7ba6f758be03341f80ed413c7896d46372
Author: W. Michael Petullo <mike flyn org>
Date:   Thu Jul 2 17:50:42 2020 -0500

    .gitlab-ci.yml: use -Werror and build for both Avahi and dns_sd

 .gitlab-ci.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3069722..2b18dcb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,9 +6,13 @@ build-ubuntu:
 
   before_script:
     - apt-get update
-    - apt-get install -q -y --no-install-recommends autoconf automake avahi-daemon check gcc gtk-doc-tools 
libavahi-client-dev libavahi-glib-dev libgdk-pixbuf2.0-dev libgee-0.8-dev libglib2.0-dev 
libgstreamer-plugins-base1.0-dev libgtk-3-dev libsoup2.4-dev libtool pkg-config
+    - apt-get install -q -y --no-install-recommends autoconf automake avahi-daemon check gcc gtk-doc-tools 
libavahi-client-dev libavahi-compat-libdnssd-dev libavahi-glib-dev libgdk-pixbuf2.0-dev libgee-0.8-dev 
libglib2.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libsoup2.4-dev libtool pkg-config
 
   script:
-    - ./autogen.sh
-    - make
+    - ./autogen.sh --with-mdns=avahi
+    - make CFLAGS="-Wall -Wextra -Werror"
+    - make clean
+    - ./configure --with-mdns=dns_sd
+    - make CFLAGS="-Wall -Wextra -Werror"
     - make check
+    - make clean


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