summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-linux.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-02 11:26:46 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-02 12:19:43 (GMT)
commit46c89c77de3216088afe11ffba33321b2cbb81e2 (patch)
tree65fb531b7b004442eb081fb8c16b3a65423cd9c9 /.gitlab/os-linux.yml
parent3ede66e17a7160683a353c5414a131368eff4861 (diff)
downloadCMake-46c89c77de3216088afe11ffba33321b2cbb81e2.zip
CMake-46c89c77de3216088afe11ffba33321b2cbb81e2.tar.gz
CMake-46c89c77de3216088afe11ffba33321b2cbb81e2.tar.bz2
gitlab-ci: Rename CI config variable to avoid conflict with CMAKE_BUILD_TYPE
Since commit e216b9bbd3 (cmake: Allow CMAKE_BUILD_TYPE to be set by environment variable, 2021-06-29), the `CMAKE_BUILD_TYPE` environment variable is interpreted by CMake, and can affect the test suite. Rename our CI config variable to avoid conflict.
Diffstat (limited to '.gitlab/os-linux.yml')
-rw-r--r--.gitlab/os-linux.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index 8ce795e..95cab05 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -90,7 +90,7 @@
variables:
CMAKE_CONFIGURATION: fedora34_clang_analyzer
- CMAKE_BUILD_TYPE: Debug
+ CMAKE_CI_BUILD_TYPE: Debug
CTEST_NO_WARNINGS_ALLOWED: 1
CMake_SKIP_INSTALL: 1
@@ -168,7 +168,7 @@
.fedora_memcheck:
variables:
- CMAKE_BUILD_TYPE: RelWithDebInfo
+ CMAKE_CI_BUILD_TYPE: RelWithDebInfo
.fedora_asan_addon:
extends: .fedora_memcheck