ref: fcc6f66cf5c57cd8bec984ff9a686bae87b84bc0
parent: b210e65799dc2f7fb4310488446d26b6d20fd431
author: Janne Grunau <janne-vlc@jannau.net>
date: Mon Nov 26 11:05:21 EST 2018
CI: make sure MSAN and UBSAN warnings are errors
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -155,6 +155,8 @@
key: testdata.git
paths:
- cache/dav1d-test-data.git/
+ variables:
+ MSAN_OPTIONS: 'exitcode=1'
script:
- test -d cache || mkdir cache
- test -d cache/dav1d-test-data.git && GIT_DIR=cache/dav1d-test-data.git git fetch --refmap=refs/heads/master:refs/heads/master origin master
@@ -174,6 +176,8 @@
key: testdata.git
paths:
- cache/dav1d-test-data.git/
+ variables:
+ UBSAN_OPTIONS: 'print_stacktrace=1:halt_on_error=1'
script:
- test -d cache || mkdir cache
- test -d cache/dav1d-test-data.git && GIT_DIR=cache/dav1d-test-data.git git fetch --refmap=refs/heads/master:refs/heads/master origin master