diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-01-25 13:20:43 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-25 13:32:08 +0100 |
commit | 98bdcfe56f5d17ee92910f57d968411a3381f326 (patch) | |
tree | b161fee337baed834ed58084e4c5be119af13200 | |
parent | 700ebf332453ae66af9b356f55736461f288c79b (diff) | |
download | cmocka-98bdcfe56f5d17ee92910f57d968411a3381f326.tar.gz cmocka-98bdcfe56f5d17ee92910f57d968411a3381f326.tar.xz cmocka-98bdcfe56f5d17ee92910f57d968411a3381f326.zip |
gitlab-ci: Add target for MemorySanitizer
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3f3131..7238240 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,24 @@ fedora/address-sanitizer: paths: - obj/ +fedora/memory-sanitizer: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - mkdir -p obj && cd obj && cmake + -DCMAKE_BUILD_TYPE=MemorySanitizer + -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ + -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/undefined-sanitizer: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD script: |