github: Add build with DBG completely disabled
This commit is contained in:
@@ -45,6 +45,9 @@ jobs:
|
|||||||
- test: coverage
|
- test: coverage
|
||||||
- test: dist
|
- test: dist
|
||||||
- test: nm
|
- test: nm
|
||||||
|
- test: no-dbg
|
||||||
|
- test: no-dbg
|
||||||
|
compiler: clang
|
||||||
- test: fuzzing
|
- test: fuzzing
|
||||||
compiler: clang
|
compiler: clang
|
||||||
monolithic: yes
|
monolithic: yes
|
||||||
|
|||||||
+4
-1
@@ -221,7 +221,7 @@ wolfssl)
|
|||||||
printf-builtin)
|
printf-builtin)
|
||||||
CONFIG="--with-printf-hooks=builtin"
|
CONFIG="--with-printf-hooks=builtin"
|
||||||
;;
|
;;
|
||||||
all|codeql|coverage|sonarcloud)
|
all|codeql|coverage|sonarcloud|no-dbg)
|
||||||
if [ "$TEST" = "sonarcloud" ]; then
|
if [ "$TEST" = "sonarcloud" ]; then
|
||||||
if [ -z "$SONAR_PROJECT" -o -z "$SONAR_ORGANIZATION" -o -z "$SONAR_TOKEN" ]; then
|
if [ -z "$SONAR_PROJECT" -o -z "$SONAR_ORGANIZATION" -o -z "$SONAR_TOKEN" ]; then
|
||||||
echo "The SONAR_PROJECT, SONAR_ORGANIZATION and SONAR_TOKEN" \
|
echo "The SONAR_PROJECT, SONAR_ORGANIZATION and SONAR_TOKEN" \
|
||||||
@@ -233,6 +233,9 @@ all|codeql|coverage|sonarcloud)
|
|||||||
# don't run tests, only analyze built code
|
# don't run tests, only analyze built code
|
||||||
TARGET=
|
TARGET=
|
||||||
fi
|
fi
|
||||||
|
if [ "$TEST" = "no-dbg" ]; then
|
||||||
|
CFLAGS="$CFLAGS -DDEBUG_LEVEL=-1"
|
||||||
|
fi
|
||||||
CONFIG="--enable-all --disable-android-dns --disable-android-log
|
CONFIG="--enable-all --disable-android-dns --disable-android-log
|
||||||
--disable-kernel-pfroute --disable-keychain
|
--disable-kernel-pfroute --disable-keychain
|
||||||
--disable-lock-profiler --disable-padlock --disable-fuzzing
|
--disable-lock-profiler --disable-padlock --disable-fuzzing
|
||||||
|
|||||||
Reference in New Issue
Block a user