Skip to content

Select Xcode 26 for VMR Apple build legs - #8625

Merged
akoeplinger merged 1 commit into
mainfrom
copilot/xcode-26-runtime-legs
Aug 26, 2026
Merged

akoeplinger merged 1 commit into
mainfrom
copilot/xcode-26-runtime-legs

Conversation

Copilot AI commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

VMR official Apple-targeted builds still used the hosted agent’s default Xcode. Align them with runtime CI’s Xcode 26 selection: dotnet/runtime#132434

  • Shared selector

    • Add a reusable step that locates the newest /Applications/Xcode_26*.app.
    • Export its developer directory through DEVELOPER_DIR.
  • VMR build jobs

    • Invoke the selector for osx, iOS, tvOS, and Mac Catalyst targets before setup and build steps.
- ${{ if in(parameters.targetOS, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator') }}:
  - template: ../steps/select-xcode.yml

Copilot AI changed the title Select Xcode 26 in VMR macOS builds Select Xcode 26 for VMR Apple build legs Aug 24, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI requested a review from agocke August 24, 2026 23:26
@agocke
agocke marked this pull request as ready for review August 24, 2026 23:26
@agocke
agocke requested a review from a team as a code owner August 24, 2026 23:27
Copilot AI lite review requested due to automatic review settings August 24, 2026 23:27
@agocke
agocke requested a review from a team as a code owner August 24, 2026 23:27
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the VMR’s official Apple-targeted pipeline jobs to explicitly select Xcode 26 (matching runtime CI behavior) instead of relying on the hosted agent’s default Xcode selection.

Changes:

  • Add a reusable pipeline step template that discovers the newest /Applications/Xcode_26*.app and sets DEVELOPER_DIR.
  • Invoke that selector step early in vmr-build jobs for macOS and Apple platform targets (iOS/tvOS/Mac Catalyst, including simulator legs).
Show a summary per file
File Description
eng/pipelines/templates/steps/select-xcode.yml New reusable step that selects the latest installed Xcode 26 and exports DEVELOPER_DIR.
eng/pipelines/templates/jobs/vmr-build.yml Runs the selector for Apple target OS values before init/setup/build steps.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

@agocke
agocke requested a review from mmitche August 25, 2026 15:54
@akoeplinger
akoeplinger merged commit c2730a5 into main Aug 26, 2026
12 checks passed
@akoeplinger
akoeplinger deleted the copilot/xcode-26-runtime-legs branch August 26, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants