diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2024-08-12 11:14:40 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-08-12 11:14:40 +0200 |
| commit | 08b9431171b3ecc042d8697a582ae380c168cd01 (patch) | |
| tree | 57460e63ab5f19e86a0f78580f8a10602a15d16d /ci/ios/create-vm/scripts/install-xcode.sh | |
| parent | 5b035e22e7f846b4a72071b002c159d3a311fa69 (diff) | |
| download | mullvadvpn-08b9431171b3ecc042d8697a582ae380c168cd01.tar.xz mullvadvpn-08b9431171b3ecc042d8697a582ae380c168cd01.zip | |
Add packer scripts to create VMs and install Xcode on them
Diffstat (limited to 'ci/ios/create-vm/scripts/install-xcode.sh')
| -rw-r--r-- | ci/ios/create-vm/scripts/install-xcode.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/ios/create-vm/scripts/install-xcode.sh b/ci/ios/create-vm/scripts/install-xcode.sh new file mode 100644 index 0000000000..26102f5328 --- /dev/null +++ b/ci/ios/create-vm/scripts/install-xcode.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -euo pipefail + +# shellcheck source=/dev/null +source ~/.bash_profile + +echo >&1 "Installing xcode" +xcodes install "${XCODE_VERSION}" --path "${XCODE_SHARED_PATH}/${XCODE_XIP_NAME}" --experimental-unxip +xcodes select "${XCODE_VERSION}" |
