mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 21:38:26 +08:00
* [macOS] add pester tests to install scripts part-1. * changed version * added changes related to common utils installation * added source tests file * removed tests from homebrew * moved jq to homebrew * fix nitpicks * incorrect things are fixed. * fixed some mistakes in the text * commonutils changed. * remove swiftlint installation from toolsets * removed useless string
15 lines
458 B
Bash
15 lines
458 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/invoke-tests.sh
|
|
|
|
MINICONDA_INSTALLER="/tmp/miniconda.sh"
|
|
curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o $MINICONDA_INSTALLER
|
|
chmod +x $MINICONDA_INSTALLER
|
|
sudo $MINICONDA_INSTALLER -b -p /usr/local/miniconda
|
|
|
|
sudo ln -s /usr/local/miniconda/bin/conda /usr/local/bin/conda
|
|
|
|
if [ -d "$HOME/.conda" ]; then
|
|
sudo chown -R $USER "$HOME/.conda"
|
|
fi
|
|
|
|
invoke_tests "Common" "Miniconda" |