summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/cmake_build_and_upload_test_artifacts.yaml')
-rw-r--r--coin/instructions/cmake_build_and_upload_test_artifacts.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
index 4b3e3d46bf..1b0288d370 100644
--- a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
+++ b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
@@ -23,6 +23,22 @@ instructions:
env_var: COIN_CMAKE_ARGS
equals_value: null
+ # Set an informational build environment env var during the an integration's build phase.
+ # It can be checked during Qt and standalone tests configuration (so configure,
+ # qt-configure-module and qt-internal-configure-tests time).
+ # It's currently needed for some CMake autotest iOS-specific decisions, but it could be useful
+ # for other scenarios as well.
+ #
+ # A related QTEST_ENVIRONMENT env var is set during an integration's test phase.
+ #
+ # Note that CMake auto tests are configured and built during the /test/ phase, NOT the build
+ # phase.
+ # BUT, the options that will be passed to the project cmake invocation in the test phase, are
+ # decided during the /build/ phase.
+ - type: EnvironmentVariable
+ variableName: QT_BUILD_ENVIRONMENT
+ variableValue: "ci"
+
# Inform CMake to build just a minimal set of tests for static Qt builds.
- type: AppendToEnvironmentVariable
variableName: COIN_CMAKE_ARGS