Hello,

I added DEBUG_STRICT=1 to all builds.

Ilya Shipitcin
From 9ff834e99daaf48fff088aa5461aca4919a327c8 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Sun, 15 Mar 2020 12:08:08 +0500
Subject: [PATCH] BUILD: CI: enable DEBUG_STRICT=1 for all kinds of CI builds

Fixes: #546
---
 .cirrus.yml                          | 4 ++--
 .github/workflows/windows-latest.yml | 2 +-
 .travis.yml                          | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 982773467..7bb3530fe 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -8,7 +8,7 @@ FreeBSD_task:
   script:
     - git clone https://github.com/VTest/VTest.git ../vtest
     - make -C ../vtest
-    - gmake CC=clang V=1 ERR=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua53 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.3
+    - gmake CC=clang V=1 ERR=1 DEBUG_STRICT=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua53 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.3
     - ./haproxy -vv
     - ldd haproxy
     - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
@@ -23,7 +23,7 @@ centos_6_task:
     - git clone https://github.com/VTest/VTest.git ../vtest
     # Special flags due to: https://github.com/vtest/VTest/issues/12
     - make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
-    - make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
+    - make CC=cc V=1 ERR=1 DEBUG_STRICT=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
     - ./haproxy -vv
     - ldd haproxy
     # remove alpn reg-test (CentOS 6 does not support alpn)
diff --git a/.github/workflows/windows-latest.yml b/.github/workflows/windows-latest.yml
index 445e021a4..6b6a737ad 100644
--- a/.github/workflows/windows-latest.yml
+++ b/.github/workflows/windows-latest.yml
@@ -16,5 +16,5 @@ jobs:
     - name: fake step
       run: C:\\tools\\cygwin\\bin\\bash -lc 'pwd'
     - name: build
-      run: C:\\tools\\cygwin\\bin\\bash -lc 'cd $OLDPWD && make TARGET=cygwin ERR=1 USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_THREAD=1 && ./haproxy -vv'
+      run: C:\\tools\\cygwin\\bin\\bash -lc 'cd $OLDPWD && make TARGET=cygwin ERR=1 DEBUG_STRICT=1 USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_THREAD=1 && ./haproxy -vv'
 
diff --git a/.travis.yml b/.travis.yml
index 23b656a97..96f16ed42 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -107,7 +107,7 @@ install:
 script:
   - if [ "$CC"  = "clang" ]; then export FLAGS="$FLAGS USE_OBSOLETE_LINKER=1" DEBUG_CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"; fi
   - make -C contrib/wurfl
-  - make -j3 CC=$CC V=1 ERR=1 TARGET=$TARGET $FLAGS DEBUG_CFLAGS="$DEBUG_CFLAGS" LDFLAGS="$LDFLAGS -L$SSL_LIB -Wl,-rpath,$SSL_LIB" 51DEGREES_SRC="$FIFTYONEDEGREES_SRC" EXTRA_OBJS="$EXTRA_OBJS"
+  - make -j3 CC=$CC V=1 ERR=1 DEBUG_STRICT=1 TARGET=$TARGET $FLAGS DEBUG_CFLAGS="$DEBUG_CFLAGS" LDFLAGS="$LDFLAGS -L$SSL_LIB -Wl,-rpath,$SSL_LIB" 51DEGREES_SRC="$FIFTYONEDEGREES_SRC" EXTRA_OBJS="$EXTRA_OBJS"
   - ./haproxy -vv
   - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ldd haproxy; fi
   - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then otool -L haproxy; fi
-- 
2.24.1

Reply via email to