[gjs: 2/3] CI: Add job that builds with all debug logging defined



commit 3120ecd12bfb7d5b419c118af7a0640d6a59926c
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue May 15 22:28:59 2018 -0400

    CI: Add job that builds with all debug logging defined
    
    There are a lot of debug logs that get ifdef'd out because they would
    otherwise overwhelm the logs and get in the way of performance. However,
    they tend to accumulate stale code inside them because they're not built
    often. It would be useful to have a CI build job that checks this.

 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc1512ce..2277fd7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,6 +157,18 @@ sanitizer_gcc:
     TEST: "check"
     BUILD_OPTS: "--enable-asan --enable-ubsan"
 
+# There are a lot of debug log statements that are ifdef'd out in normal usage.
+# These sometimes get invalid expressions in them, leading to annoyance the
+# next time you try to use debug logging.
+with_logging:
+  <<: *build
+  stage: thorough_tests
+  image: claudioandre/spidermonkey:fedora.dev.gcc
+  variables:
+    CC: gcc
+    DEV: devel
+    BUILD_OPTS: CPPFLAGS='-DGJS_VERBOSE_ENABLE_PROPS=1 -DGJS_VERBOSE_ENABLE_MARSHAL=1 
-DGJS_VERBOSE_ENABLE_LIFECYCLE=1 -DGJS_VERBOSE_ENABLE_GI_USAGE=1 -DGJS_VERBOSE_ENABLE_CLOSURE=1 
-DGJS_VERBOSE_ENABLE_GSIGNAL=1'
+
 sanitizer_clang:
   <<: *build
   stage: thorough_tests


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]