summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-05 13:05:17 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-05 13:05:23 +0200
commit53e144dd60e6a4d75b3bd37c588f3ecdb5724aee (patch)
tree83a88f883524a0607081eb20a66fbdb3d6079e8f
parentfbb9618b25b77c65e24a6ce224d53bc9a0b81457 (diff)
downloadgnutls-53e144dd60e6a4d75b3bd37c588f3ecdb5724aee.tar.gz
.gitlab-ci.yml: use fedora24 with address sanitizer
The fix in fbb9618b25b77c65e24a6ce224d53bc9a0b81457 addresses the problems with asan in fedora24.
-rw-r--r--.gitlab-ci.yml38
1 files changed, 18 insertions, 20 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5435e0f42f..9c95904a4f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,6 +125,24 @@ Build and Check with valgrind:
- tests/*.log
- tests/*/*.log
+Build and Check with asan:
+ script:
+ - dnf install -y git 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 net-tools
+ - dnf install -y clang libasan-static nodejs softhsm datefudge lcov openssl-devel libasan dieharder mbedtls-utils openssl libcmocka-devel socat xz ppp
+ - make autoreconf && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan"
+ ./configure --disable-doc --enable-code-coverage --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile &&
+ make -j4 && make check -j4 && make local-code-coverage-output
+ tags:
+ - shared
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - tests/*.log
+ - tests/*/*.log
+
Release build for windows32 DLLs:
script:
- dnf install -y git 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
@@ -217,7 +235,6 @@ Build and Check for windows32 in separate build dir:
- build/tests/*.log
- build/tests/*/*.log
-
Build and Check on FreeBSD:
script:
- gmake autoreconf && rm -f tests/suite/mini-eagain2.c && LIBS="-L/usr/local/lib" ./configure
@@ -253,22 +270,3 @@ Build and Check - separate build dir (x86):
- build/tests/*.log
- build/tests/*/*.log
-# Address sanitizer in fedora 24 cannot read suppression files
-Build and Check with asan:
- image: fedora:23
- script:
- - dnf install -y git 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 net-tools
- - dnf install -y clang libasan-static nodejs softhsm datefudge lcov openssl-devel libasan dieharder mbedtls-utils openssl libcmocka-devel socat xz ppp
- - make autoreconf && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan"
- ./configure --disable-doc --enable-code-coverage --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile &&
- make -j4 && make check -j4 && make local-code-coverage-output
- tags:
- - shared
- except:
- - tags
- artifacts:
- expire_in: 1 week
- when: on_failure
- paths:
- - tests/*.log
- - tests/*/*.log