Skip to content

Add MachO composite Crossgen2 test jobs for OSX#127770

Open
jtschuster wants to merge 2 commits intodotnet:mainfrom
jtschuster:AddMachOCompositeJob
Open

Add MachO composite Crossgen2 test jobs for OSX#127770
jtschuster wants to merge 2 commits intodotnet:mainfrom
jtschuster:AddMachOCompositeJob

Conversation

@jtschuster
Copy link
Copy Markdown
Member

Add a crossgen job to output a MachO object file and run tests in the crossgen-composite pipeline.

@jtschuster
Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr crossgen2-composite

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 extends the CoreCLR crossgen2 composite test pipelines to add macOS (x64/arm64) jobs that run ReadyToRun composite tests with Crossgen2 emitting Mach-O output (via a new crossgen2OutputFormat pipeline parameter that flows into Helix as CrossGen2OutputFormat).

Changes:

  • Add crossgen2OutputFormat parameter plumbing through runtime test job templates into Helix/MSBuild so Helix work items can export CrossGen2OutputFormat.
  • Add new macOS composite test matrix entries in crossgen2-outerloop.yml and crossgen2-composite.yml that set crossgen2OutputFormat: macho.
  • Adjust log naming in run-test-job.yml to distinguish output-format-specific runs.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/tests/Common/helixpublishwitharcade.proj Passes CrossGen2OutputFormat into per-scenario child MSBuild invocations and exports it for non-Windows Helix runs.
eng/pipelines/coreclr/crossgen2-outerloop.yml Adds new macOS outerloop composite Mach-O jobs.
eng/pipelines/coreclr/crossgen2-composite.yml Adds new macOS innerloop composite Mach-O jobs.
eng/pipelines/common/templates/runtimes/send-to-helix-step.yml Adds crossgen2OutputFormat template parameter and maps it into the Helix MSBuild environment.
eng/pipelines/common/templates/runtimes/run-test-job.yml Adds crossgen2OutputFormat job parameter, tweaks log prefixing, and forwards the value to Helix.
eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml Adds crossgen2OutputFormat parameter and forwards it into the Helix send step.

PublishTestResults=$(_PublishTestResults);
RunCrossGen2=$(_RunCrossGen2);
CompositeBuildMode=$(_CompositeBuildMode);
CrossGen2OutputFormat=$(_Crossgen2OutputFormat);
Comment thread eng/pipelines/coreclr/crossgen2-outerloop.yml Outdated
Comment thread eng/pipelines/coreclr/crossgen2-composite.yml Outdated
@jtschuster
Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr crossgen2-composite

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment on lines 649 to 652
<HelixPreCommand Include="export RunCrossGen2=1" Condition=" '$(RunCrossGen2)' == 'true' " />
<HelixPreCommand Include="export CompositeBuildMode=1" Condition=" '$(CompositeBuildMode)' == 'true' " />
<HelixPreCommand Include="export CrossGen2OutputFormat=$(CrossGen2OutputFormat)" Condition=" '$(CrossGen2OutputFormat)' != '' " />
<HelixPreCommand Include="export RunningLongGCTests=1" Condition=" '$(LongRunningGCTests)' == 'true' " />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants