Commit 29a404dc authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'ci-macos'

55e07cc2 ci: more test exclusions
eb5c1951 ci: rerun failing tests up to 3 times
42108174 ci: exclude tests which have been failing
9fae98d5 gitlab-ci: add a python+qt CI builder for macOS
7b867d2f ci: exclude some tests which don't work on macOS
efd3d22e Examples: skip Catalyst2 examples without MPI
63f2da8f ci: limit individual tests to 100 seconds
bbdbc839

 gitlab-ci: add and update CI scripts for macOS building
...
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !4344
parents 7708e12c 55e07cc2
Pipeline #188218 failed with stages
in 184 minutes and 10 seconds
......@@ -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
......
......@@ -8,3 +8,62 @@
- compile_output.log
- doxygen_output.log
- prepare_output.log
.cmake_build_artifacts:
artifacts:
expire_in: 1d
paths:
# 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/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/
# CDash files.
- build/DartConfiguration.tcl
.cmake_test_artifacts:
artifacts:
expire_in: 1d
# Tests failing should still upload the artifact for further testing.
when: always
paths:
# Debugging logs
- build/Testing/Temporary/Last*.log
......@@ -3,14 +3,38 @@
set -e
readonly version="3.17.4"
readonly sha256sum="126cc8356907913787d4ff35237ae1854c09b927a35dbe5270dd571ae224bdd3"
readonly filename="cmake-$version-Linux-x86_64"
case "$( uname -s )" in
Linux)
shatool="sha256sum"
sha256sum="126cc8356907913787d4ff35237ae1854c09b927a35dbe5270dd571ae224bdd3"
platform="Linux"
;;
Darwin)
shatool="shasum -a 256"
sha256sum="125eaf2befeb8099237298424c6e382b40cb23353ee26ce96545db29ed899b4a"
platform="Darwin"
;;
*)
echo "Unrecognized platform $( uname -s )"
exit 1
;;
esac
readonly shatool
readonly sha256sum
readonly platform
readonly filename="cmake-$version-$platform-x86_64"
readonly tarball="$filename.tar.gz"
cd .gitlab
echo "$sha256sum $tarball" > cmake.sha256sum
curl -OL "https://github.com/Kitware/CMake/releases/download/v$version/$tarball"
sha256sum --check cmake.sha256sum
$shatool --check cmake.sha256sum
tar xf "$tarball"
mv "$filename" "cmake"
mv "$filename" cmake
if [ "$( uname -s )" = "Darwin" ]; then
ln -s CMake.app/Contents/bin cmake/bin
fi
# Stock CI builds test everything possible (platforms will disable modules as
# needed).
set(PARAVIEW_BUILD_ALL_MODULES ON CACHE BOOL "")
set(PARAVIEW_BUILD_LEGACY_REMOVE ON CACHE BOOL "")
set(PARAVIEW_BUILD_TESTING WANT CACHE BOOL "")
set(PARAVIEW_BUILD_EXAMPLES ON CACHE BOOL "")
set(VTK_DEBUG_LEAKS ON CACHE BOOL "")
set(VTK_USE_LARGE_DATA ON CACHE BOOL "")
set(PARAVIEW_BUILD_CATALYST_ADAPTORS ON CACHE BOOL "")
# The install trees on CI machines need help since dependencies are not in a
# default location.
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.
if ("$ENV{CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
else ()
set(CMAKE_BUILD_TYPE "$ENV{CMAKE_BUILD_TYPE}" CACHE STRING "")
endif ()
include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
# 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")
# Options that can be overridden based on the
# configuration name.
function (configuration_flag variable configuration)
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "${configuration}")
set("${variable}" ON CACHE BOOL "")
else ()
set("${variable}" OFF CACHE BOOL "")
endif ()
endfunction ()
# kits
configuration_flag(PARAVIEW_BUILD_WITH_KITS "kits")
# mpi
configuration_flag(PARAVIEW_USE_MPI "mpi")
# offscreen
configuration_flag(VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN "offscreen")
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "offscreen")
set(VTK_USE_COCOA OFF CACHE BOOL "")
set(VTK_USE_X OFF CACHE BOOL "")
endif ()
# osmesa
configuration_flag(VTK_OPENGL_HAS_OSMESA "osmesa")
# python
configuration_flag(PARAVIEW_USE_PYTHON "python")
# qt
configuration_flag(PARAVIEW_USE_QT "qt")
set(CMAKE_C_COMPILER_LAUNCHER "sccache" CACHE STRING "")
set(CMAKE_CXX_COMPILER_LAUNCHER "sccache" CACHE STRING "")
include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake")
# Read the files from the build directory.
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
# Pick up from where the configure left off.
ctest_start(APPEND)
set(targets_to_build "all")
foreach (target IN LISTS targets_to_build)
set(build_args)
if (NOT target STREQUAL "all")
list(APPEND build_args TARGET ${target})
endif ()
if (CTEST_CMAKE_GENERATOR MATCHES "Make")
# Drop the `-i` flag without remorse.
set(CTEST_BUILD_COMMAND "make -j 4 ${CTEST_BUILD_FLAGS}")
if (NOT target STREQUAL "all")
set(CTEST_BUILD_COMMAND "${CTEST_BUILD_COMMAND} ${target}")
endif ()
endif ()
ctest_build(
RETURN_VALUE build_result
${build_args})
ctest_submit(PARTS Build)
endforeach ()
file(GLOB logs
"${CTEST_BINARY_DIRECTORY}/superbuild/*/stamp/*-build-*.log"
"${CTEST_BINARY_DIRECTORY}/superbuild/*/stamp/*-install-*.log")
if (logs)
list(APPEND CTEST_NOTES_FILES ${logs})
ctest_submit(PARTS Notes)
endif ()
if (build_result)
message(FATAL_ERROR
"Failed to build")
endif ()
include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake")
set(cmake_args
-C "${CMAKE_CURRENT_LIST_DIR}/configure_$ENV{CMAKE_CONFIGURATION}.cmake")
# Create an entry in CDash.
ctest_start(Experimental TRACK "${ctest_track}")
# Gather update information.
find_package(Git)
set(CTEST_UPDATE_VERSION_ONLY ON)
set(CTEST_UPDATE_COMMAND "${GIT_EXECUTABLE}")
ctest_update()
# Configure the project.
ctest_configure(
OPTIONS "${cmake_args}"
RETURN_VALUE configure_result)
# Read the files from the build directory.
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
# We can now submit because we've configured. This is a cmb-superbuild-ism.
ctest_submit(PARTS Update)
ctest_submit(PARTS Configure)
if (configure_result)
message(FATAL_ERROR
"Failed to configure")
endif ()
include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake")
# Read the files from the build directory.
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
# Pick up from where the configure left off.
ctest_start(APPEND)
include(ProcessorCount)
ProcessorCount(nproc)
# Default to a reasonable test timeout.
set(CTEST_TEST_TIMEOUT 100)
set(test_exclusions
)
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos")
list(APPEND test_exclusions
# Segfaults in an event handler
"\.ColorOpacityTableEditing$"
# Possibly https://gitlab.kitware.com/paraview/paraview/-/issues/19091
"\.SeparateOpacityArray$"
# Known-bad
"\.SliceWithPlaneMultiBlock$"
"\.PreviewFontScaling$"
# Unstructured grid volume rendering (paraview/paraview#19130)
"\.MultiBlockVolumeRendering$"
"\.UnstructuredVolumeRenderingVectorComponent$")
endif ()
string(REPLACE ";" "|" test_exclusions "${test_exclusions}")
if (test_exclusions)
set(test_exclusions "(${test_exclusions})")
endif ()
ctest_test(APPEND
PARALLEL_LEVEL "${nproc}"
RETURN_VALUE test_result
EXCLUDE "${test_exclusions}"
REPEAT UNTIL_PASS:3)
ctest_submit(PARTS Test)
if (test_result)
message(FATAL_ERROR
"Failed to test")
endif ()
cmake_minimum_required(VERSION 3.12)
# Input variables.
set(qt_version_major "5")
set(qt_version_minor "15")
set(qt_version_patch "0")
# This URL is only visible inside of Kitware's network. Please use your own Qt
# Account to obtain these files.
set(qt_url_root "https://paraview.org/files/dependencies/internal/qt")
# Determine the ABI to fetch for Qt.
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2015")
set(qt_platform "windows_x86")
set(msvc_year "2015")
set(qt_abi "win64_msvc${msvc_year}_64")
elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2017" OR
"$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2019")
set(qt_platform "windows_x86")
set(msvc_year "2017")
set(qt_abi "win64_msvc${msvc_year}_64")
elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos")
set(qt_platform "mac_x64")
set(qt_abi "clang_64")
else ()
message(FATAL_ERROR
"Unknown ABI to use for Qt")
endif ()
# Combined version variables.
set(qt_version "${qt_version_major}.${qt_version_minor}.${qt_version_patch}")
set(qt_version_nodot "${qt_version_major}${qt_version_minor}${qt_version_patch}")
# Files needed to download.
set(qt_files)
if (qt_platform STREQUAL "windows_x86")
if (msvc_year STREQUAL "2017")
set(qt_build_stamp "202002260536")
elseif (msvc_year STREQUAL "2015")
set(qt_build_stamp "202005150700")
else ()
message(FATAL_ERROR
"Build stamp for MSVC ${msvc_year} is unknown")
endif ()
set(qt_file_name_prefix "${qt_version}-0-${qt_build_stamp}")
list(APPEND qt_files
"${qt_file_name_prefix}d3dcompiler_47-x64.7z"
"${qt_file_name_prefix}opengl32sw-64-mesa_12_0_rc2.7z")
foreach (qt_component IN ITEMS qtbase qtsvg qttools qtxmlpatterns)
list(APPEND qt_files
"${qt_file_name_prefix}${qt_component}-Windows-Windows_10-MSVC${msvc_year}-Windows-Windows_10-X86_64.7z")
endforeach ()
set(qt_subdir "${qt_version}/msvc${msvc_year}_64")
elseif (qt_platform STREQUAL "mac_x64")
set(qt_build_stamp "202005140805")
set(qt_file_name_prefix "${qt_version}-0-${qt_build_stamp}")
foreach (qt_component IN ITEMS qtbase qtsvg qttools qtxmlpatterns)
list(APPEND qt_files
"${qt_file_name_prefix}${qt_component}-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z")
endforeach ()
set(qt_subdir "${qt_version}/clang_64")
else ()
message(FATAL_ERROR
"Unknown files for ${qt_platform}")
endif ()
# Verify that we know what directory will be extracted.
if (NOT qt_subdir)
message(FATAL_ERROR
"The extracted subdirectory is not set")
endif ()
# Build up the path to the file to download.
set(qt_url_path "${qt_platform}/desktop/qt5_${qt_version_nodot}/qt.qt5.${qt_version_nodot}.${qt_abi}")
set(qt_url_prefix "${qt_url_root}/${qt_url_path}")
# Include the file containing the hashes of the files that matter.
include("${CMAKE_CURRENT_LIST_DIR}/download_qt_hashes.cmake")
# Download and extract each file.
foreach (qt_file IN LISTS qt_files)
# Ensure we have a hash to verify.
if (NOT DEFINED "${qt_file}_hash")
message(FATAL_ERROR
"Unknown hash for ${qt_file}")
endif ()
# Download the file.
file(DOWNLOAD
"${qt_url_prefix}/${qt_file}"
".gitlab/${qt_file}"
STATUS download_status
EXPECTED_HASH "SHA256=${${qt_file}_hash}")
# Check the download status.
list(GET download_status 0 res)
if (res)
list(GET download_status 1 err)
message(FATAL_ERROR
"Failed to download ${qt_file}: ${err}")
endif ()
# Extract the file.
execute_process(
COMMAND
"${CMAKE_COMMAND}"
-E tar
xf "${qt_file}"
WORKING_DIRECTORY ".gitlab"
RESULT_VARIABLE res
ERROR_VARIABLE err
ERROR_STRIP_TRAILING_WHITESPACE)
if (res)
message(FATAL_ERROR
"Failed to extract ${qt_file}: ${err}")
endif ()
endforeach ()
# The Windows tarballs have some unfortunate permissions in them that prevent
# deletion when `git clean -ffdx` tries to clean up the directory.
if (qt_platform STREQUAL "windows_x86")
# Fix permissions.
file(TO_NATIVE_PATH ".gitlab/${qt_subdir}/*.*" native_qt_dir)
execute_process(
# Remove any read-only flags that aren't affected by `icacls`.
COMMAND
attrib
-r # Remove readonly flag
"${native_qt_dir}"
/d # Treat as a directory
/s # Recursive
/l # Don't dereference symlinks
RESULT_VARIABLE res
ERROR_VARIABLE err
ERROR_STRIP_TRAILING_WHITESPACE)
if (res)
message(FATAL_ERROR
"Failed to fix remove read-only flags in ${qt_file}: ${err}")
endif ()
endif ()
# Move to a predictable prefix.
file(RENAME
".gitlab/${qt_subdir}"
".gitlab/qt")
# Lines can be generated by doing:
#
# sha256sum $files | awk '{ print "set(\"" $2 "_hash\" " $1 ")" }' >> $thisfile
set("5.15.0-0-202002260536d3dcompiler_47-x64.7z_hash" 428a8b5d74b31d42a234d9ddc05a1f13f9a651b0798094215b25263108983a95)
set("5.15.0-0-202002260536opengl32sw-64-mesa_12_0_rc2.7z_hash" dd40f61374ba988afabcb239713a10504816d7afc2997707c7ebcbe57eb30112)
set("5.15.0-0-202002260536qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z_hash" c041596be8f7a16c7be9ea6757c14766ff3200ab6d56f7db8f865dbfe039fe20)
set("5.15.0-0-202002260536qtsvg-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z_hash" 5c29598c8b9251536a9a2679dbabce20628c6cd51a66d9fe9d68ddbe0c69c172)
set("5.15.0-0-202002260536qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z_hash" ba02878360ca11c90b7c7581a673383a698d17f771d672070af9330b6b789586)
set("5.15.0-0-202002260536qtxmlpatterns-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z_hash" 56abd417c82d3f1327b8f60d1a7bccdfd1d34c3fea110a91d9d13d7e01fb76e3)
set("5.15.0-0-202005150700d3dcompiler_47-x64.7z_hash" 45b4c38886ef42368b62bdb9cec2e06fc3a68bc94696fdf2f83c9bdf29b0161f)
set("5.15.0-0-202005150700opengl32sw-64-mesa_12_0_rc2.7z_hash" 2f94c5315fccfa51bc547dc5eec7612dbc0646f12e4511bbc81f921066a1c245)
set("5.15.0-0-202005150700qtbase-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 0c2653c5eca256f59c0b48b537cd633b05560e4241c0226856d2ae22ab066df4)
set("5.15.0-0-202005150700qtsvg-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 12a32da7bbca6d1adc8702088205ca96b806337ee7e6a134658c592754b6b468)
set("5.15.0-0-202005150700qttools-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 976d87ede6d03cd0ebd025e5769cf9ce76c625fa2e19de6ea5f9e74d8f11cafd)
set("5.15.0-0-202005150700qtxmlpatterns-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 50e7e7c4c6ad558037bb6561406bca47d16ad56bfbd16219325006a628cc7f14)
set("5.15.0-0-202005140805qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z_hash" 04d867c81d2431f288c42c9752642759460b9468477de349368dcc8de0c8ddc4)
set("5.15.0-0-202005140805qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z_hash" 578fab3a9b5fd945f30f3d82bdbe8203a904fe4a215fef82997d431680cb3f8f)
set("5.15.0-0-202005140805qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z_hash" 1858dae8848bc93f943a17b76a45ec3fe0e8c3be41b6ce7f46cdff14addbae78)
set("5.15.0-0-202005140805qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z_hash" e083217bd03129d8524c5c3b7d98c2048c6c119f1ba3965fff147357f8e3d7d8)
if (NOT DEFINED "ENV{GITLAB_CI}")
message(STATUS
"This script is being run outside of GitLab-CI.")
else ()
message(STATUS
"This script is being run inside of GitLab-CI")
endif ()
# Set up the source and build paths.
if (NOT DEFINED "ENV{CI_PROJECT_DIR}")
get_filename_component(project_dir "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)
set(CTEST_SOURCE_DIRECTORY "${project_dir}")
else()
set(CTEST_SOURCE_DIRECTORY "$ENV{CI_PROJECT_DIR}")
set(CTEST_SITE "gitlab-ci")
endif()
set(CTEST_BINARY_DIRECTORY "${CTEST_SOURCE_DIRECTORY}/build")
if ("$ENV{CMAKE_CONFIGURATION}" STREQUAL "")
message(FATAL_ERROR
"The CMAKE_CONFIGURATION environment variable is required to know what "
"cache initialization file to use.")
endif ()
# Set the build metadata.
set(build_name_prefix)
if (DEFINED "ENV{CI_MERGE_REQUEST_IID}")
set(build_name_prefix "mr-!$ENV{CI_MERGE_REQUEST_IID}-")
elseif (DEFINED "ENV{CI_COMMIT_TAG}")
set(build_name_prefix "tag-$ENV{CI_COMMIT_TAG}-")
elseif (DEFINED "ENV{CI_COMMIT_BRANCH}-")
set(build_name_prefix "branch-$ENV{CI_COMMIT_BRANCH}-")
elseif (DEFINED "ENV{CI_COMMIT_REF_NAME}")
set(build_name_prefix "branch-$ENV{CI_COMMIT_REF_NAME}-")
endif()
# add information about ParaView revision being built to the build name
# as it's hard to figure that out otherwise.
if (DEFINED "ENV{PARAVIEW_COMMIT_SHORT_SHA}")
set(build_name_prefix "${build_name_prefix}paraview-$ENV{PARAVIEW_COMMIT_SHORT_SHA}-")
endif()
set(CTEST_BUILD_NAME "$ENV{CI_PROJECT_NAME}-${build_name_prefix}[$ENV{CMAKE_CONFIGURATION}]")
# Default to Release builds.
if (NOT "$ENV{CMAKE_BUILD_TYPE}" STREQUAL "")
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_BUILD_TYPE}")
endif ()
if (NOT CTEST_BUILD_CONFIGURATION)
set(CTEST_BUILD_CONFIGURATION "Release")
endif ()
# Default to using Ninja.
if (NOT "$ENV{CMAKE_GENERATOR}" STREQUAL "")
set(CTEST_CMAKE_GENERATOR "$ENV{CMAKE_GENERATOR}")
endif ()
if (NOT CTEST_CMAKE_GENERATOR)
set(CTEST_CMAKE_GENERATOR "Ninja")
endif ()
# Determine the track to submit to.
set(ctest_track "Experimental")
if (NOT "$ENV{CI_MERGE_REQUEST_ID}" STREQUAL "")
if ("$ENV{CI_MERGE_REQUEST_TARGET_BRANCH_NAME}" STREQUAL "master")
set(ctest_track "buildbot-packages")
elseif ("$ENV{CI_MERGE_REQUEST_TARGET_BRANCH_NAME}" STREQUAL "release")
set(ctest_track "buildbot-packages-release")
endif ()
elseif ("$ENV{CI_PROJECT_PATH}" STREQUAL "paraview/paraview")
if ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master")
set(ctest_track "master")
elseif ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "release")
set(ctest_track "release")
endif ()
endif ()
......@@ -2,16 +2,39 @@
set -e
readonly version="0.2.12"
readonly sha256sum="26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f"
readonly filename="sccache-$version-x86_64-unknown-linux-musl"
readonly version="0.2.13"
case "$( uname -s )" in
Linux)
shatool="sha256sum"
sha256sum="28a5499e340865b08b632306b435913beb590fbd7b49a3f887a623b459fabdeb"
platform="x86_64-unknown-linux-musl"
;;