aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-07-06 17:16:38 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-07-08 12:02:19 +0200
commit595c2c4336d122feddafcdb1b8ccf67c44145488 (patch)
tree41bfdc29b0e340fbdddde8531fb385f820c71060
parent343c90ccf437eee49c5c73579a5d1b4ca0753a6e (diff)
downloadlibssh-595c2c4336d122feddafcdb1b8ccf67c44145488.tar.gz
libssh-595c2c4336d122feddafcdb1b8ccf67c44145488.tar.xz
libssh-595c2c4336d122feddafcdb1b8ccf67c44145488.zip
gitlab-ci: Run the fuzzer with AddressSanitzer
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 80882c89..a0a6036e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,9 +97,10 @@ fedora/address-sanitizer:
script:
- mkdir -p obj && cd obj && cmake
-DCMAKE_BUILD_TYPE=AddressSanitizer
+ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
-DPICKY_DEVELOPER=ON
-DWITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON
- -DUNIT_TESTING=ON .. &&
+ -DUNIT_TESTING=ON -DFUZZ_TESTING=ON .. &&
make -j$(nproc) && ctest --output-on-failure
tags:
- shared
@@ -413,8 +414,8 @@ tumbleweed/openssl_1.1.x/x86_64/clang:
-DPICKY_DEVELOPER=ON
-DWITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON
-DKRB5_CONFIG=/usr/lib/mit/bin/krb5-config
- -DUNIT_TESTING=ON -DCLIENT_TESTING=ON -DSERVER_TESTING=ON
- -DFUZZ_TESTING=ON .. &&
+ -DUNIT_TESTING=ON
+ -DCLIENT_TESTING=ON -DSERVER_TESTING=ON .. &&
make -j$(nproc) && ctest --output-on-failure
tags:
- shared