mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 03:47:40 +08:00
* Update azure-cli installation * Update curl installation * Update git-lfs installation * Add utils * Update gnupg installation * Add brew_install function * Revert jq installation * Add condition for the aws-sam-cli * Add return to function, revert aws-sam-cli changes, rename brew_install function * Fix typo Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
21 lines
565 B
Bash
21 lines
565 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
source ~/utils/invoke-tests.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" |