aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-09-27 21:10:45 +0200
committerAndreas Schneider <asn@samba.org>2018-10-23 15:39:52 +0200
commit76286508446f6c1b278021e1074b1c078ae0caf7 (patch)
treeb859d31b11a3533af198faac126f8ec5a1ab620c /.gitlab-ci.yml
parentbee622ba59ae933f219a2efba1c3f1a1d53a9783 (diff)
downloadsocket_wrapper-76286508446f6c1b278021e1074b1c078ae0caf7.tar.gz
socket_wrapper-76286508446f6c1b278021e1074b1c078ae0caf7.tar.xz
socket_wrapper-76286508446f6c1b278021e1074b1c078ae0caf7.zip
gitlab-ci: Add helgrind tests
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bddd67e..00b4576 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -198,3 +198,22 @@ tumbleweed/static-analysis:
when: on_failure
paths:
- obj/scan
+
+tumbleweed/helgrind:
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
+ script:
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=Debug
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON
+ -DHELGRIND_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
+ tags:
+ - shared
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - obj/