diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-18 09:35:01 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-06 13:36:59 +0200 |
commit | f2ff12e40af2c1992ba634efe8500360d6908ad9 (patch) | |
tree | c14c906ca5078a02d03340bdb5d9966a058e4a39 | |
parent | 42455eb82b10d715afc9c9b680a856afadbce8d9 (diff) | |
download | gnutls-tmp-add-applications.tar.gz |
.gitlab-ci.yml: added build with libvirt and openconnect test suitetmp-add-applications
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | .gitlab-ci.yml | 14 | ||||
-rwxr-xr-x | devel/fedpkg-wrapper.sh | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 051231266b..0e48e73aaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -415,6 +415,20 @@ ubsan-Werror/Fedora/x86_64: - tests/*/*.log - tests/suite/*/*.log +apps/Fedora/x86_64: + stage: stage1-testing + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - make autoreconf + - ./configure --disable-non-suiteb-curves --disable-guile --disable-doc --prefix=/usr --libdir=/usr/lib64 --disable-cxx --with-default-trust-store-pkcs11="pkcs11:" + - make -j$(nproc) && + make install && ldconfig && devel/fedpkg-wrapper.sh /apps/libvirt && + devel/fedpkg-wrapper.sh /apps/openconnect + tags: + - shared + except: + - tags + Debian/x86_64: stage: stage1-testing image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD diff --git a/devel/fedpkg-wrapper.sh b/devel/fedpkg-wrapper.sh new file mode 100755 index 0000000000..12ada505f6 --- /dev/null +++ b/devel/fedpkg-wrapper.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# This wrapper is a work around for the following issue in gitlab CI: +# https://gitlab.com/gitlab-com/support-forum/issues/1311 + +dir=$1 + +test -z ${dir} && exit 1 + +pushd ${dir} + +fedpkg local +rc=$? + +popd + +if test $rc = 0;then + exit 0 +fi + +exit 1 |