summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2021-12-17 10:25:36 -0800
committerMarge Bot <emma+marge@anholt.net>2021-12-23 09:10:11 +0000
commit059b71b58def40059ad5d0f37fb8f2f8c613a8a1 (patch)
tree58261237a8d5966a008c1a3b7c3b985d3ebe35be /.gitlab-ci.yml
parent6e6e16b31783b5c747cc70b5b5316c5aeda46ae4 (diff)
ci: Enable a build with MSan.
This will catch uninitialized data usage (such as 37855fd59d18 ("glcpp: Fully initialize struct gl_context")) much faster than valgrind does. Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14236>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c577b71ee48..fcf5a2d17a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -734,6 +734,24 @@ debian-testing-asan:
MINIO_ARTIFACT_NAME: ""
ARTIFACTS_DEBUG_SYMBOLS: 1
+debian-testing-msan:
+ extends:
+ - debian-clang
+ variables:
+ # l_undef is incompatible with msan
+ EXTRA_OPTION:
+ -D b_sanitize=memory
+ -D b_lundef=false
+ MINIO_ARTIFACT_NAME: ""
+ ARTIFACTS_DEBUG_SYMBOLS: 1
+ # Don't run all the tests yet:
+ # GLSL has some issues in sexpression reading.
+ # gtest has issues in its test initialization.
+ MESON_TEST_ARGS: "--suite glcpp --suite gallium --suite format"
+ # Freedreno dropped because freedreno tools fail at msan.
+ GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra,d3d12,crocus"
+ VULKAN_DRIVERS: intel,amd,broadcom,virtio-experimental
+
debian-clover-testing:
extends:
- .meson-build