Skip to content

Build macOS Arm64 artifacts for M4 performance runs - #134616

Merged
DrewScoggins merged 4 commits into
dotnet:mainfrom
DrewScoggins:add-m4-perf-build
Sep 30, 2026
Merged

DrewScoggins merged 4 commits into
dotnet:mainfrom
DrewScoggins:add-m4-perf-build

Conversation

@DrewScoggins

@DrewScoggins DrewScoggins commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Add macOS Arm64 CoreCLR build artifacts for performance runs on osx.26.arm64.m4.perf.

  • Add an opt-in osx_arm64 platform to the existing CoreCLR performance build template.
  • Enable it in the regular performance build jobs, including release branches containing this template, using the existing cross-build and artifact-upload paths.
  • Keep existing platform selections unchanged. The companion performance template retains its release-branch run guard to protect runtime branches without Mac build support.

Companion PR: dotnet/performance#5323 adds the M4 microbenchmark job. This runtime change must land and be available to the internal performance pipeline before that job is enabled.

Validation

Six local YAML/structural checks passed across both repositories, covering duplicate keys, platform and queue selection, release guards, cross-build forwarding, artifact naming, and preservation of existing jobs. git diff --check passed.

No macOS build, Azure Pipelines template expansion, or end-to-end Helix run was performed locally; those still require pipeline validation.

Note

This PR was prepared with GitHub Copilot; this description is AI-generated.

@azure-pipelines

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

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

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.

Copilot review overview

🟡 Changes recommended

Exclude internal release branches from the macOS Arm64 build guard.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds opt-in macOS Arm64 CoreCLR artifacts for M4 performance runs.

Changes:

  • Adds osx_arm64 support to the CoreCLR performance template.
  • Enables it for non-release performance builds.
  • Reuses existing cross-build and artifact-upload paths.
File Description
eng/​pipelines/​performance/​templates/​perf-coreclr-build-jobs.yml Adds macOS Arm64 platform support and artifact publishing.
eng/​pipelines/​performance/​templates/​perf-build-jobs.yml Enables macOS Arm64 builds outside release branches.

Comment thread eng/pipelines/performance/templates/perf-build-jobs.yml Outdated
Copilot AI review requested due to automatic review settings September 24, 2026 22:03

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.

Copilot review overview

🟡 Changes recommended

Release behavior and scheduled-job handling must be corrected before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity

Open (3)

Comment thread eng/pipelines/performance/perf.yml Outdated
Comment thread eng/pipelines/performance/templates/perf-build-jobs.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d3ea3c9-20b5-43c5-8e73-5a61a2120de9
Disable WASM and non-Mac runtime builds for M4 queue validation. Revert this commit after the trial.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d3ea3c9-20b5-43c5-8e73-5a61a2120de9
Reverts temporary Mac-only configuration from 9654ea5, retaining the new macOS Arm64 build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d3ea3c9-20b5-43c5-8e73-5a61a2120de9
Remove the unnecessary build-side branch guard. Keep the shared performance run guard for release branches without Mac build support.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d3ea3c9-20b5-43c5-8e73-5a61a2120de9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants