Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
ParaView
Commits
c71d9888
Commit
c71d9888
authored
Aug 27, 2020
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: add a python+qt CI builder for macOS
parent
83de39c3
Pipeline
#187692
failed with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
2 deletions
+67
-2
.gitlab-ci.yml
.gitlab-ci.yml
+21
-0
.gitlab/artifacts.yml
.gitlab/artifacts.yml
+30
-2
.gitlab/ci/configure_common.cmake
.gitlab/ci/configure_common.cmake
+3
-0
.gitlab/ci/configure_macos_python_qt.cmake
.gitlab/ci/configure_macos_python_qt.cmake
+5
-0
.gitlab/os-macos.yml
.gitlab/os-macos.yml
+8
-0
No files found.
.gitlab-ci.yml
View file @
c71d9888
...
...
@@ -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
...
...
.gitlab/artifacts.yml
View file @
c71d9888
...
...
@@ -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/
t
esting/
t
emporary/
-
build/
T
esting/
T
emporary/
# CDash files.
-
build/DartConfiguration.tcl
...
...
.gitlab/ci/configure_common.cmake
View file @
c71d9888
...
...
@@ -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.
...
...
.gitlab/ci/configure_macos_python_qt.cmake
0 → 100644
View file @
c71d9888
# 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"
)
.gitlab/os-macos.yml
View file @
c71d9888
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment