summaryrefslogtreecommitdiff
path: root/platform/macos/macos.cmake
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-05-14 10:27:31 +0300
committerJuha Alanen <juha.alanen@mapbox.com>2020-05-18 16:45:38 +0300
commit5a8942b9b97db71e61be0dff9a0644bc444b7340 (patch)
tree589b736c705af323fb58491f109b09d2b1db27bf /platform/macos/macos.cmake
parente5a2ebc52551d6ff430aa8b10451516220f5ffdd (diff)
downloadqtlocation-mapboxgl-5a8942b9b97db71e61be0dff9a0644bc444b7340.tar.gz
[build] Disable benchmarks in CI on Linux and Mac
Diffstat (limited to 'platform/macos/macos.cmake')
-rw-r--r--platform/macos/macos.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/macos.cmake b/platform/macos/macos.cmake
index 3cd4df090f..4331852aa2 100644
--- a/platform/macos/macos.cmake
+++ b/platform/macos/macos.cmake
@@ -143,8 +143,8 @@ set_property(TARGET mbgl-benchmark-runner PROPERTY FOLDER Executables)
set_property(TARGET mbgl-test-runner PROPERTY FOLDER Executables)
set_property(TARGET mbgl-render-test-runner PROPERTY FOLDER Executables)
-# MacOS CI tests run with SW rendering and it causes benchmark to timeout for debug builds
-if(NOT DEFINED ENV{CI} OR CMAKE_BUILD_TYPE STREQUAL Release)
+# Disable benchmarks in CI as they run in VM environment
+if(NOT DEFINED ENV{CI})
add_test(NAME mbgl-benchmark-runner COMMAND mbgl-benchmark-runner WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
endif()
add_test(NAME mbgl-test-runner COMMAND mbgl-test-runner WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})