summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-13 08:49:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-13 09:07:48 +0200
commit292b69f7671b5fb14e09db32e52a5a1b9cac0d9d (patch)
tree0db91c232bebd2e6a15d4fc19a4ebd0455288945 /.gitlab-ci.yml
parent3db5d5ffe135c7533b5b8f1b016d9a2501ff667d (diff)
downloadgnutls-292b69f7671b5fb14e09db32e52a5a1b9cac0d9d.tar.gz
.gitlab-ci.yml: added check for position dependent code
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f4b42bd11..b39ec1c35f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,9 +57,12 @@ Fedora/x86_64/no-SSL-3.0:
# Needs gnutls' headers due to some abi-checker issue with resolving deps
Fedora/x86_64/ABI-check:
script:
- - dnf install -y gnutls-devel
+ - dnf install -y gnutls-devel binutils elfutils
- make autoreconf && mkdir -p build && cd build &&
- ../configure --disable-doc --disable-cxx --disable-guile --disable-non-suiteb-curves && make -j4 && make abi-check
+ ../configure --disable-doc --disable-cxx --disable-guile --disable-non-suiteb-curves && make -j4
+ - make abi-check
+#check whether it contains position dependent code
+ - make pic-check
tags:
- shared
except:
@@ -290,11 +293,13 @@ FreeBSD10/x86_64:
Fedora/x86:
image: nickcis/fedora-32:23
before_script:
- - linux32 dnf install -y autoconf libtool gettext-devel automake autogen nettle-devel p11-kit-devel autogen-libopts-devel trousers-devel guile-devel libtasn1-devel libidn-devel gawk gperf git2cl libtasn1-tools unbound-devel bison help2man xz net-tools libseccomp-devel libubsan libubsan-static nodejs softhsm datefudge lcov openssl-devel dieharder mbedtls-utils openssl libcmocka-devel socat xz ppp abi-compliance-checker valgrind
+ - linux32 dnf install -y autoconf libtool gettext-devel automake autogen nettle-devel p11-kit-devel autogen-libopts-devel trousers-devel guile-devel libtasn1-devel libidn-devel gawk gperf git2cl libtasn1-tools unbound-devel bison help2man xz net-tools libseccomp-devel libubsan libubsan-static nodejs softhsm datefudge lcov openssl-devel dieharder mbedtls-utils openssl libcmocka-devel socat xz ppp abi-compliance-checker valgrind binutils elfutils
script:
- make autoreconf && mkdir -p build && cd build &&
../configure --build=i686-redhat-linux --target=i686-redhat-linux --disable-cxx --disable-non-suiteb-curves --enable-seccomp-tests --disable-doc --disable-valgrind-tests --enable-code-coverage &&
- make -j4 && make check -j4
+ make -j4
+ - make check -j4
+ - make pic-check
- make local-code-coverage-output || true
tags:
- shared