From 6f45ae6d024872c9ae1ea33fe0fab211d0f7c054 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Wed, 15 Jan 2025 17:53:36 -0500 Subject: [PATCH] [ci] Reduce Xcode platform installations (#27155) We've been encountering various issues with ci agent disk space availability, and can save some space/time when provisioning by cutting unused simulators. --- eng/pipelines/arcade/setup-test-env.yml | 2 +- eng/pipelines/common/provision.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/arcade/setup-test-env.yml b/eng/pipelines/arcade/setup-test-env.yml index bd5067614355..89ea71770f2b 100644 --- a/eng/pipelines/arcade/setup-test-env.yml +++ b/eng/pipelines/arcade/setup-test-env.yml @@ -18,7 +18,7 @@ steps: xcrun xcode-select --print-path xcodebuild -version sudo xcodebuild -license accept - sudo xcodebuild -downloadAllPlatforms + sudo xcodebuild -downloadPlatform iOS sudo xcodebuild -runFirstLaunch displayName: Select Xcode Version condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin')) diff --git a/eng/pipelines/common/provision.yml b/eng/pipelines/common/provision.yml index 738fcb93874a..9cacac3028a3 100644 --- a/eng/pipelines/common/provision.yml +++ b/eng/pipelines/common/provision.yml @@ -60,7 +60,7 @@ steps: xcrun xcode-select --print-path xcodebuild -version sudo xcodebuild -license accept - sudo xcodebuild -downloadAllPlatforms + sudo xcodebuild -downloadPlatform iOS sudo xcodebuild -runFirstLaunch displayName: Select Xcode Version condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))