gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/02: CI: added usage of the configure's detection of t


From: gnunet
Subject: [libmicrohttpd] 01/02: CI: added usage of the configure's detection of the compiler flags
Date: Tue, 14 Jun 2022 17:46:26 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 836ee8e6c641732e9808338a592f54153921c176
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jun 14 14:36:34 2022 +0300

    CI: added usage of the configure's detection of the compiler flags
---
 .gitlab-ci.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b11b9bbd..c5e0283e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,8 +26,8 @@ variables:
   DEBIAN_BUILD: buildenv-debian-stretch
   MINGW_BUILD: buildenv-debian-mingw
   GET_SOURCES_ATTEMPTS: "3"
-  CONFIGURE_BASE_FLAGS: --enable-asserts --cache-file cache/config.cache
-  CFLAGS_DEFAULT: -O0 -g -ggdb3 -Wall -Wextra
+  CONFIGURE_BASE_FLAGS: --cache-file cache/config.cache
+  CFLAGS_DEFAULT: ""
 
 # In this build we combine
 #  * gcc
@@ -37,7 +37,7 @@ gcc/Stretch:
   script:
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./bootstrap
-    - ./configure $CONFIGURE_BASE_FLAGS
+    - ./configure $CONFIGURE_BASE_FLAGS --enable-build-type=debug 
--disable-sanitizers
     - make -j$(nproc) && make -k check
   tags:
     - shared
@@ -61,7 +61,7 @@ Sanitizers/Stretch:
     - ./bootstrap
     - export CC="ccache clang"
     - export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-3.8/bin/llvm-symbolizer
-    - ./configure $CONFIGURE_BASE_FLAGS --disable-doc --enable-sanitizers
+    - ./configure $CONFIGURE_BASE_FLAGS --disable-doc 
--enable-build-type=debug --enable-sanitizers
     - make -j$(nproc) && make -k check
   tags:
     - shared
@@ -79,7 +79,7 @@ Scan-Build/Debian:
   script:
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./bootstrap
-    - scan-build ./configure $CONFIGURE_BASE_FLAGS
+    - scan-build ./configure $CONFIGURE_BASE_FLAGS --enable-build-type=debug 
--disable-sanitizers
     - scan-build -v -enable-checker security,nullability --status-bugs -o 
scan-build make -j$(nproc)
     - scan-build -v -enable-checker security,nullability --status-bugs -o 
scan-build make -k check
   tags:
@@ -99,7 +99,7 @@ MinGW/Debian:
     - export CFLAGS="$CFLAGS_DEFAULT"
     - export CC="ccache $PREFIX-gcc"
     - ./bootstrap
-    - ./configure $CONFIGURE_BASE_FLAGS --build=x86_64-pc-linux-gnu 
--host=$PREFIX
+    - ./configure $CONFIGURE_BASE_FLAGS --build=x86_64-pc-linux-gnu 
--host=$PREFIX --enable-build-type=release
     - make -j$(nproc)
   tags:
     - shared
@@ -110,7 +110,7 @@ dist/Stretch:
   script:
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./bootstrap
-    - ./configure $CONFIGURE_BASE_FLAGS
+    - ./configure $CONFIGURE_BASE_FLAGS --enable-build-type=release
     - make -j$(nproc) dist
   tags:
     - shared

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]