before_script:
- export build_system="cmake"
# fail on any compiler warnings
- - export CFLAGS=-Werror
- - export CXXFLAGS=-Werror
- - export CMAKE_OPTIONS="-Duse_sanitizers=ON -Duse_coverage=ON -Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
+ - export CFLAGS="-fsanitize=address,undefined -g -Werror"
+ - export CXXFLAGS="-fsanitize=address,undefined -g -Werror"
+ - export CMAKE_OPTIONS="-Duse_coverage=ON -Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
- export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=ON"
# override the deb_build_definition artifacts since we need more
# files from the build directory when running ctest in the test