Files
runner-images/images/macos/provision/core/commonutils.sh
Aleksandr Chebotov caa7a1ac6d [macOS] Get rid of invoke_tests imports (#2496)
* get rid of invoke_tests imports

* add sudo

* change path to /usr/bin/invoke_tests

* create /usr/local/bin dir

* remove local variables

* fix group owner

* set default 775 perm

* delete invoke_tests symlink
2021-01-22 09:26:28 +03:00

21 lines
535 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
common_packages=$(get_toolset_value '.brew.common_packages[]')
for package in $common_packages; do
echo "Installing $package..."
brew_smart_install "$package"
done
cask_packages=$(get_toolset_value '.brew.cask_packages[]')
for package in $cask_packages; do
echo "Installing $package..."
brew install --cask $package
done
# Invoke bazel to download the latest bazel version via bazelisk
bazel
# Invoke tests for all common tools
invoke_tests "Common" "CommonUtils"