From fbc91bad31345eaaf5319f66460b19640c0bcd10 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Mon, 6 Nov 2017 16:32:48 +0100
Subject: [PATCH 2/2] .gitlab-ci.yml: added build with gnutls

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
---
 .gitlab-ci.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a78430c..f4b07cfd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,3 +87,17 @@ build/static-analyzers:
     when: on_failure
     paths:
       - scan-build-lib/*
+build/gnutls:
+  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
+  script:
+  - ./.bootstrap &&
+  - ./configure --disable-documentation --prefix=/usr --libdir=/usr/lib64 &&
+    make -j4 && make install
+  - git clone --depth 1 --branch master https://gitlab.com/gnutls/gnutls.git gnutls-git
+  - cd gnutls-git && git submodule update --init && make autoreconf &&
+    ./configure --disable-cxx --disable-guile --disable-doc && make -j$(nproc) &&
+    make -j $(nproc) check
+  tags:
+  - shared
+  except:
+  - tags
-- 
2.13.6

