summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-11 14:17:27 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-11 17:12:25 +0200
commit36793156334c70d0c264e87d5b8c4f1c146fc135 (patch)
tree27a38a5e83b1cd11a09757110494996fcd621109 /circle.yml
parent3b14aef334c47a3548e8545da2c4113248885dd2 (diff)
downloadqtlocation-mapboxgl-36793156334c70d0c264e87d5b8c4f1c146fc135.tar.gz
[build] Better isolate compiler flags
Previously we had UndefinedBehavior mixed with other sanitizers, in special implicit conversions and overflows. Also, run the sanitizers in Release configuration, so they will run faster. -O1 is just needed for perfectly nice stack traces. Also, moving the flags to an interface will prevent them to leak to our external dependencies.
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index 58ec727908..33fa2fd121 100644
--- a/circle.yml
+++ b/circle.yml
@@ -53,7 +53,7 @@ workflows:
target_is_linux: true
requires:
- next-linux-gcc8-release
- config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_BUILD_TYPE=DebugCoverage'
+ config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_BUILD_TYPE=Debug -DMBGL_WITH_COVERAGE=ON'
- next-build-template:
name: next-linux-clang8-release
executor_name: ubuntu-disco
@@ -74,7 +74,7 @@ workflows:
target_is_linux: true
requires:
- next-sanity-checks
- config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_BUILD_TYPE=Sanitize -DMBGL_WITH_SANITIZER=address'
+ config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DMBGL_WITH_SANITIZER=address'
test_params: '|| true'
- next-build-template:
name: next-linux-tsan
@@ -82,7 +82,7 @@ workflows:
target_is_linux: true
requires:
- next-sanity-checks
- config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_BUILD_TYPE=Sanitize -DMBGL_WITH_SANITIZER=thread'
+ config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DMBGL_WITH_SANITIZER=thread'
- next-build-template:
name: next-FIXME-linux-valgrind
executor_name: ubuntu-disco
@@ -95,7 +95,7 @@ workflows:
target_is_linux: true
requires:
- next-sanity-checks
- config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_BUILD_TYPE=Sanitize -DMBGL_WITH_SANITIZER=undefined'
+ config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DMBGL_WITH_SANITIZER=undefined'
test_params: '|| true'
- next-build-template:
name: next-qt5-linux-gcc5-release