diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-04-03 11:41:59 +0300 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2020-04-03 12:32:58 +0300 |
commit | 2ba4f9c84abcfb58eda064b937d14cbeb0773dbf (patch) | |
tree | f5c8445135089645804422969f862f58490ab2e9 | |
parent | cc2f80f8f4cb29766050e2ff804c0182d37c31f1 (diff) | |
download | qtlocation-mapboxgl-2ba4f9c84abcfb58eda064b937d14cbeb0773dbf.tar.gz |
[build] Make UBSAN halt on error
Revert "Temporary remove build precondition"
-rw-r--r-- | circle.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml index 197e9a2303..6156a816d2 100644 --- a/circle.yml +++ b/circle.yml @@ -117,6 +117,8 @@ workflows: name: FIXME-linux-ubsan executor_name: ubuntu-disco target_is_linux: true + requires: + - sanity-checks config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DMBGL_WITH_SANITIZER=undefined' style_tests: true - build-template: @@ -241,7 +243,7 @@ executors: working_directory: /src environment: DISPLAY: :99 - UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=0:report_error_type=1 + UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1:report_error_type=1 ASAN_OPTIONS: strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:halt_on_error=0 QT_INSTALL_DOCS: /usr/share/qt5/doc QT_VERSION: 5 |