From 7a138cca23a00c4645937ad2327e1659a57c7c2b Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Wed, 17 Apr 2019 15:17:47 +0200
Subject: [PATCH] .gitlab-ci.yml: added make distcheck target

This checks whether the distributed tarball misses files
and result to a functioning library.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ecd95ad3..d66ef516 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,6 +50,15 @@ build/ndebug:
   - shared
   except:
   - tags
+distcheck:
+  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
+  script:
+  - ./.bootstrap &&
+    ./configure --disable-static --enable-fat && make distcheck
+  tags:
+  - shared
+  except:
+  - tags
 build/ubsan:
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
-- 
2.21.0

