Commit c71d9888 authored by Ben Boeckel's avatar Ben Boeckel

gitlab-ci: add a python+qt CI builder for macOS

parent 83de39c3
Pipeline #187692 failed with stages
......@@ -5,8 +5,11 @@ include:
# OS builds.
- local: .gitlab/os-linux.yml
- local: .gitlab/os-macos.yml
stages:
- build
- test
- package
################################################################################
......@@ -47,6 +50,24 @@ package:documentation:
- .doxygen_log_artifacts
- .run_scheduled
# macOS
build:macos-python-qt:
extends:
- .macos_python_qt
- .cmake_build_macos
- .macos_builder_tags
- .cmake_build_artifacts
- .run_manually
test:macos-python-qt:
extends:
- .macos_python_qt
- .cmake_test_macos
- .macos_builder_tags
- .cmake_test_artifacts
- .run_automatically
# Triggers
## Superbuild
......
......@@ -16,17 +16,45 @@
# The artifacts of the build.
- build/bin/
- build/lib/
- build/VTK/Utilities/KWIML/vtkkwiml/test/kwiml_test
# Needed for installation.
- build/CMakeCache.txt
- build/build.ninja
- build/rules.ninja
- build/Clients/ParaView/Documentation/paraview.qch
- build/cmake_install.cmake
- build/*/cmake_install.cmake
- build/*/*/cmake_install.cmake
- build/*/*/*/cmake_install.cmake
- build/*/*/*/*/cmake_install.cmake
- build/*/*/*/*/*/cmake_install.cmake
- build/*/*/*/*/*/*/cmake_install.cmake
- build/*/*/*/*/*/*/*/cmake_install.cmake
# CTest files.
- build/CTestCustom*.cmake
- build/CTestCustom.cmake
- build/VTK/CTestCustom.cmake
# XXX(globbing): Can be simplified with support from
# https://gitlab.com/gitlab-org/gitlab-runner/issues/4840
- build/CTestTestfile.cmake
- build/*/CTestTestfile.cmake
- build/*/*/CTestTestfile.cmake
- build/*/*/*/CTestTestfile.cmake
- build/*/*/*/*/CTestTestfile.cmake
- build/*/*/*/*/*/CTestTestfile.cmake
- build/*/*/*/*/*/*/CTestTestfile.cmake
- build/*/*/*/*/*/*/*/CTestTestfile.cmake
- build/*/*.h
- build/*/*/*.h
- build/*/*/*/*.h
- build/*/*/*/*/*.h
- build/*/*/*/*/*/*.h
- build/*/*/*/*/*/*/*.h
- build/*/*/*/*/*/*/*/*.h
- build/ExternalData/
- build/Testing/
- build/testing/temporary/
- build/Testing/Temporary/
# CDash files.
- build/DartConfiguration.tcl
......
......@@ -17,6 +17,9 @@ set(PARAVIEW_RELOCATABLE_INSTALL ON CACHE BOOL "")
# Enable default-off plugins.
set(PARAVIEW_PLUGIN_ENABLE_TemporalParallelismScriptGenerator ON CACHE BOOL "")
# We run the install right after the build. Avoid rerunning it when installing.
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE BOOL "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_options.cmake")
# Default to Release builds.
......
# Add rpath entries for Xcode frameworks.
set(CMAKE_BUILD_RPATH "$ENV{DEVELOPER_DIR}/Library/Frameworks" CACHE STRING "")
set(CMAKE_INSTALL_RPATH "$ENV{DEVELOPER_DIR}/Library/Frameworks" CACHE STRING "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_macos.cmake")
......@@ -22,6 +22,13 @@
# could run at the same time, so we drop it.
GIT_CLONE_PATH: "$CI_BUILDS_DIR/paraview-ci"
.macos_python_qt:
extends: .macos_build
variables:
CMAKE_CONFIGURATION: macos_python_qt
CTEST_NO_WARNINGS_ALLOWED: 1
## Tags
.macos_builder_tags:
......@@ -71,3 +78,4 @@
- *before_script_macos
- ctest --output-on-failure -V -S .gitlab/ci/ctest_test.cmake
interruptible: true
timeout: 2 hours
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment