Compile with debug flags and sanitizers in CI.
This commit is contained in:
parent
ef77a9e4fb
commit
636e84408c
|
@ -14,7 +14,7 @@ trigger:
|
|||
- tag
|
||||
|
||||
steps:
|
||||
- name: GCC 10 / clang 11
|
||||
- name: GCC 10 / clang 11 (debug)
|
||||
image: debian:bullseye-slim
|
||||
pull: always
|
||||
environment:
|
||||
|
@ -29,13 +29,13 @@ steps:
|
|||
- apt-get install -qq build-essential cmake clang locales
|
||||
- apt-get install -qq catch libboost-program-options-dev libboost-locale-dev libboost-regex-dev libboost-log-dev gettext libarchive-dev libfmt-dev asciidoc libpugixml-dev nlohmann-json3-dev
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
||||
- cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_SANITIZERS=YES ..
|
||||
- make VERBOSE=1
|
||||
- make install DESTDIR=install
|
||||
- ctest -V
|
||||
- cd ../
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
||||
- CXX="clang++" cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_SANITIZERS=YES ..
|
||||
- make VERBOSE=1
|
||||
- make install DESTDIR=install
|
||||
- ctest -V
|
||||
|
|
Loading…
Reference in New Issue
Block a user