diff options
-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 |