Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slicer-macos-preview: Transition build from factory-south-macos to co…
…mputron Updates: * deployment target from 10.13 to 11.0 * clang from 10.0 to 14.0 * macOS host system from 10.13 (High Sierra) to 13 (Ventura) Also update TEST_TO_EXCLUDE_REGEX to match tests originally specified for factory-south-macos. See Slicer/Slicer#6695
- Loading branch information
Showing
7 changed files
with
77 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
factory-south-macos-slicerextensions_preview_nightly.cmake
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
maintenance/computron/remote-install-slicerpackagemanager-client.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
dashboard_dir=$(cd $(dirname $0) || exit 1; pwd) | ||
source $dashboard_dir/../common/remote_execute.sh | ||
|
||
#------------------------------------------------------------------------------ | ||
# Set script properties | ||
# | ||
remote_support_dir="/D/Support" | ||
|
||
proj_name="slicer_package_manager" | ||
venv_name="${proj_name}-venv" | ||
remote_python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10" | ||
remote_pip="${remote_support_dir}/${venv_name}/bin/pip" | ||
remote_client="${remote_support_dir}/${venv_name}/bin/slicer_package_manager_client" | ||
|
||
#------------------------------------------------------------------------------ | ||
# Generate script | ||
# | ||
script_name=$(basename $0) | ||
cat << REMOTE_SCRIPT_EOF > /tmp/$script_name | ||
set -ex | ||
[[ \$(hostname) != "${remote_hostname}" ]] && exit 1 | ||
cd $remote_support_dir | ||
if [[ ! -d ${venv_name} ]]; then | ||
${remote_python} -m venv ${venv_name} | ||
fi | ||
$remote_pip install -U slicer-package-manager-client | ||
$remote_client --help | ||
REMOTE_SCRIPT_EOF | ||
|
||
#------------------------------------------------------------------------------ | ||
# Execute script on remote | ||
# | ||
remote_execute /tmp/$script_name |