@@ -54,6 +54,8 @@ parameters:
5454 javascriptEngine : ' ' # optional -- JavaScript engine to use
5555 iOSLlvmBuild : false # optional -- Whether to build iOS with LLVM
5656 iOSStripSymbols : true # optional -- Whether to strip symbols from the iOS build
57+ provisionXcode : false # optional -- Whether to provision Xcode using Provisionator (for iOS scenarios)
58+ xcodeVersion : ' ' # optional -- Xcode version to provision (e.g., '26.1.0')
5759 additionalSetupParameters : ' ' # optional -- Additional arguments to pass to the script
5860 liveLibrariesBuildConfig : ' ' # optional -- Build configuration when generating Core_Root for libraries
5961 crossBuild : false # optional -- Whether the Core_Root is being cross-compiled
@@ -143,6 +145,16 @@ jobs:
143145 fetchDepth : ${{ parameters.checkoutFetchDepth }}
144146 - ${{ each step in parameters.steps }} :
145147 - ${{ step }}
148+ # Provision Xcode for iOS scenarios using Provisionator
149+ - ${{ if and(eq(parameters.provisionXcode, true), ne(parameters.xcodeVersion, '')) }} :
150+ - task : provisionator@2
151+ displayName : ' Provision Xcode ${{ parameters.xcodeVersion }}'
152+ inputs :
153+ provisioning_script : $(performanceRepoDir)/eng/provisioning/xcode.csx
154+ provisioning_extra_args : ' -vvvv'
155+ env :
156+ REQUIRED_XCODE_VERSION : ${{ parameters.xcodeVersion }}
157+ GITHUB_TOKEN : $(GitHub.Token)
146158 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.downloadPdn, true)) }} :
147159 - task : AzureCLI@2
148160 displayName : ' Download PDN'
@@ -237,6 +249,9 @@ jobs:
237249 parameters :
238250 osGroup : ${{ parameters.osGroup }}
239251 projectFile : $(_projectFile)
252+ ${{ if ne(parameters.xcodeVersion, '') }} :
253+ environment :
254+ XcodeVersion : ${{ parameters.xcodeVersion }}
240255 - ${{ if eq(parameters.osGroup, 'windows') }} :
241256 - task : PowerShell@2
242257 displayName : Redact Logs
0 commit comments