diff options
author | Andreas Schneider <asn@samba.org> | 2020-02-12 10:56:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2021-01-29 08:42:31 +0100 |
commit | c0fb86a71418dc8610089434fda4effbc99b4c12 (patch) | |
tree | 6206638d81d8672b01976813e5c88e0d343fb5ce /.gitlab-ci.yml | |
parent | 06e423d0647c4a3915f8600c8ec7c8825f8f1e97 (diff) | |
download | socket_wrapper-c0fb86a71418dc8610089434fda4effbc99b4c12.tar.gz socket_wrapper-c0fb86a71418dc8610089434fda4effbc99b4c12.tar.xz socket_wrapper-c0fb86a71418dc8610089434fda4effbc99b4c12.zip |
gitlab-ci: Add job for ThreadSanitizer
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a28377d..d22bfb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,6 +77,27 @@ fedora/undefined-sanitizer: paths: - obj/ +# realpath() doesn't work with libtsan and returns EINVAL +# +# fedora/thread-sanitizer: +tumbleweed/thread-sanitizer: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD + script: + - mkdir -p obj && cd obj && cmake + -DCMAKE_BUILD_TYPE=ThreadSanitizer + -DPICKY_DEVELOPER=ON + -DUNIT_TESTING=ON .. && + make -j$(nproc) && ctest --output-on-failure + tags: + - shared + except: + - tags + artifacts: + expire_in: 1 week + when: on_failure + paths: + - obj/ + fedora/csbuild: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD script: |