Skip to content

Commit

Permalink
* .gitlab-ci.yaml: Set default CFLAGS to retain the human readable sy…
Browse files Browse the repository at this point in the history
…mbols
  • Loading branch information
Darshit Shah authored and Darshit Shah committed Sep 8, 2017
1 parent 81b49e3 commit 1ba6eaa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ variables:
CENTOS7_BUILD: buildenv-centos7
GET_SOURCES_ATTEMPTS: "3"
CONFIGURE_BASE_FLAGS: --enable-assert
CFLAGS_DEFAULT: -O0 -g -ggdb3


# We organize the CI runners as thus:
Expand Down Expand Up @@ -38,6 +39,7 @@ Debian GNU/Linux build:
- apt-get update -qq && apt-get install -y -qq libmicrohttpd-dev
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- export CFLAGS=$CFLAGS_DEFAULT
- ./bootstrap && touch .manywarnings
- CC=clang ./configure $CONFIGURE_BASE_FLAGS --enable-fsanitize-asan --enable-fsanitize-ubsan -C
- make -j$(nproc) check
Expand All @@ -64,6 +66,7 @@ clang/Fedora:
script:
- export CC=clang
- export CXX=clang++
- export CFLAGS=$CFLAGS_DEFAULT
- ./bootstrap && touch .manywarnings
- ./configure $CONFIGURE_BASE_FLAGS --enable-valgrind-tests
- make -j$(nproc) check
Expand Down Expand Up @@ -95,7 +98,8 @@ pages:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- ./bootstrap
- CFLAGS="-g -O0" ./configure
- export CFLAGS=$CFLAGS_DEFAULT
- ./configure
- make -j$(nproc) check-coverage
- mkdir -p public
# Test suite coverage report
Expand Down

0 comments on commit 1ba6eaa

Please sign in to comment.