diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-15 17:40:48 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-23 18:10:40 (GMT) |
commit | 1dcc5698289a49359c70f022d673cacc42b82239 (patch) | |
tree | e4c06f0c8d2a4092618ded995eb6d3e8d72e1394 | |
parent | 4c6e5cd0fae57684411d6bf814b4fcc4434c1f50 (diff) | |
download | CMake-1dcc5698289a49359c70f022d673cacc42b82239.zip CMake-1dcc5698289a49359c70f022d673cacc42b82239.tar.gz CMake-1dcc5698289a49359c70f022d673cacc42b82239.tar.bz2 |
gitlab-ci: Add GUI testing to each OS
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | .gitlab/artifacts.yml | 1 | ||||
-rw-r--r-- | .gitlab/ci/configure_fedora31_ninja.cmake | 1 | ||||
-rw-r--r-- | .gitlab/ci/configure_macos_common.cmake | 6 | ||||
-rw-r--r-- | .gitlab/ci/configure_macos_makefiles.cmake | 1 | ||||
-rw-r--r-- | .gitlab/ci/configure_macos_ninja.cmake | 1 | ||||
-rw-r--r-- | .gitlab/ci/configure_windows_vs2019_x64_ninja.cmake | 1 | ||||
-rw-r--r-- | .gitlab/os-linux.yml | 8 |
8 files changed, 20 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8d5292..f4ebb02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,7 +109,7 @@ test:fedora31-ninja: extends: - .fedora31_ninja - .cmake_test_linux - - .linux_builder_tags_qt + - .linux_builder_tags_x11 - .cmake_test_artifacts - .run_automatically dependencies: diff --git a/.gitlab/artifacts.yml b/.gitlab/artifacts.yml index 2eadcb1..f1c0c7e 100644 --- a/.gitlab/artifacts.yml +++ b/.gitlab/artifacts.yml @@ -60,6 +60,7 @@ - build/Tests/RunCMake/ - build/Tests/CMakeOnly/ - build/Tests/CMakeTests/ + - build/Tests/CMakeGUI/ # CTest/CDash information. - build/Testing/ diff --git a/.gitlab/ci/configure_fedora31_ninja.cmake b/.gitlab/ci/configure_fedora31_ninja.cmake index dad6d45..2743412 100644 --- a/.gitlab/ci/configure_fedora31_ninja.cmake +++ b/.gitlab/ci/configure_fedora31_ninja.cmake @@ -1,2 +1,3 @@ set(CMake_TEST_ISPC "ON" CACHE STRING "") +set(CMake_TEST_GUI "ON" CACHE BOOL "") include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora31_common.cmake") diff --git a/.gitlab/ci/configure_macos_common.cmake b/.gitlab/ci/configure_macos_common.cmake index bd5902b..3d09779 100644 --- a/.gitlab/ci/configure_macos_common.cmake +++ b/.gitlab/ci/configure_macos_common.cmake @@ -6,4 +6,10 @@ set(Java_JAVA_EXECUTABLE "" CACHE FILEPATH "") set(Java_JAVAC_EXECUTABLE "" CACHE FILEPATH "") set(Java_JAR_EXECUTABLE "" CACHE FILEPATH "") +# Qt binaries get placed inside the source directory, which causes them to not +# be included in the install-time rpath, but we still want them in the +# build-time rpath. CMake sets CMAKE_BUILD_WITH_INSTALL_RPATH to ON by default, +# so set it to OFF. +set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF CACHE BOOL "") + set(BUILD_QtDialog ON CACHE BOOL "") diff --git a/.gitlab/ci/configure_macos_makefiles.cmake b/.gitlab/ci/configure_macos_makefiles.cmake index 85f67b5..f657d98 100644 --- a/.gitlab/ci/configure_macos_makefiles.cmake +++ b/.gitlab/ci/configure_macos_makefiles.cmake @@ -1,2 +1,3 @@ +set(CMake_TEST_GUI "ON" CACHE BOOL "") include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_ninja.cmake b/.gitlab/ci/configure_macos_ninja.cmake index 85f67b5..f657d98 100644 --- a/.gitlab/ci/configure_macos_ninja.cmake +++ b/.gitlab/ci/configure_macos_ninja.cmake @@ -1,2 +1,3 @@ +set(CMake_TEST_GUI "ON" CACHE BOOL "") include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake b/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake index 719c93c..9c30a4b 100644 --- a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake +++ b/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake @@ -1,3 +1,4 @@ set(CMake_TEST_WIX_NO_VERIFY "ON" CACHE BOOL "") +set(CMake_TEST_GUI "ON" CACHE BOOL "") include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_common.cmake") diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index 1ec5413..75f8156 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -119,6 +119,14 @@ - linux - linux-3.17 # Needed to be able to load Fedora's Qt libraries. +.linux_builder_tags_x11: + tags: + - cmake + - docker + - linux + - linux-3.17 # Needed to be able to load Fedora's Qt libraries. + - x11 + .linux_builder_tags_cuda: tags: - cmake |