Download required platforms at build-time if not present

This commit is contained in:
Cameron Gutman 2023-11-04 03:44:25 -05:00
parent 8cd931cf50
commit cb26398414

View File

@ -7,12 +7,15 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: macOS-Monterey - APPVEYOR_BUILD_WORKER_IMAGE: macOS-Monterey
SCHEME: Moonlight SCHEME: Moonlight
SDK: iphonesimulator SDK: iphonesimulator
- APPVEYOR_BUILD_WORKER_IMAGE: macOS-BigSur PLATFORM: iOS
- APPVEYOR_BUILD_WORKER_IMAGE: macOS-Monterey
SCHEME: Moonlight TV SCHEME: Moonlight TV
SDK: appletvsimulator SDK: appletvsimulator
PLATFORM: tvOS
before_build: before_build:
- 'git submodule update --init --recursive' - 'git submodule update --init --recursive'
- sh: 'xcodebuild -downloadPlatform $PLATFORM'
build_script: build_script:
- sh: set -o pipefail && xcodebuild -project Moonlight.xcodeproj -scheme "$SCHEME" -configuration Debug -sdk $SDK clean build | xcpretty - sh: set -o pipefail && xcodebuild -project Moonlight.xcodeproj -scheme "$SCHEME" -configuration Debug -sdk $SDK clean build | xcpretty