[igt-dev] [PATCH i-g-t 7/7] Gitlab CI: Do builds with -Db_ndebug=true

Lyude lyude at redhat.com
Tue Apr 16 20:11:01 UTC 2019


From: Lyude Paul <lyude at redhat.com>

To make sure that no one ever uses assert() in the wrong places again,
let's build with -Db_ndebug=true so that assert() gets compiled out.

Signed-off-by: Lyude Paul <lyude at redhat.com>
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae8cbb67..0cc134ae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
     -Dbuild_tests=true
     -Dbuild_runner=true
     -Dwith_libunwind=true
+    -Db_ndebug=true
   LANG: "C.UTF-8"
 
 stages:
-- 
2.20.1



More information about the igt-dev mailing list