From 595c2c4336d122feddafcdb1b8ccf67c44145488 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 6 Jul 2019 17:16:38 +0200 Subject: [PATCH] gitlab-ci: Run the fuzzer with AddressSanitzer Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- .gitlab-ci.yml | 7 ++++--- 1 file 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