mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-18 07:46:45 +00:00
[macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
29
images/macos/scripts/build/install-xcode-simulators.sh
Normal file
29
images/macos/scripts/build/install-xcode-simulators.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
################################################################################
|
||||
## File: install-xcode-simulators.sh
|
||||
## Desc: Install Xcode simulators
|
||||
################################################################################
|
||||
|
||||
source ~/utils/utils.sh
|
||||
|
||||
# Downloading and installing simulators
|
||||
SIMS_TO_INSTALL=(
|
||||
"8.4"
|
||||
"9.0"
|
||||
"9.1"
|
||||
"9.2"
|
||||
"9.3"
|
||||
"10.0"
|
||||
"10.1"
|
||||
"10.2"
|
||||
"10.3"
|
||||
)
|
||||
|
||||
for SIM_VERSION in ${SIMS_TO_INSTALL[@]}
|
||||
do
|
||||
echo "Installing iOS $SIM_VERSION ..."
|
||||
sudo xcversion simulators --install="iOS ${SIM_VERSION}"
|
||||
echo "Successfuly installed iOS $SIM_VERSION ..."
|
||||
done
|
||||
|
||||
echo "Done installing simulator runtimes."
|
||||
Reference in New Issue
Block a user