Skip to content

chore: Modify macos runner image for CI - #2775

Merged
timcassell merged 3 commits into
dotnet:masterfrom
filzrev:chore-fix-ci-macos-runner-images
Jun 14, 2025
Merged

chore: Modify macos runner image for CI#2775
timcassell merged 3 commits into
dotnet:masterfrom
filzrev:chore-fix-ci-macos-runner-images

Conversation

@filzrev

@filzrev filzrev commented Jun 13, 2025

Copy link
Copy Markdown
Contributor

This PR fix macos runner image issue that unintentionally changed image from x64 to ARM64. (#2738)
macos15 using ARM64 architecture. It need to use macos13 image to tests on x64.
https://github.com/actions/runner-images?tab=readme-ov-file#available-images

What's changed in this PR

  1. Modify test-macos job to use both ARM64/x64 images with matrix.
  2. Modify BenchmarkDotNet.Build.csproj to output trx log with unit file name.

Note:
Artifact zip archive name is outputted as following.
(It's because GitHub Action don't have build-in functions for toLowerCase)
- test-macos(ARM64)-trx-15629555566
- test-macos(X64)-trx-15629555566

Comment thread .github/workflows/run-tests.yaml Outdated
@timcassell
timcassell merged commit a08f01c into dotnet:master Jun 14, 2025
@AndreyAkinshin AndreyAkinshin added this to the v0.15.2 milestone Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants