[Swift shipping] Setup MacCatalyst tests on the CI#2998
Conversation
| parameters: | ||
| osGroup: OSX | ||
| platform: maccatalyst | ||
| archType: x64 |
There was a problem hiding this comment.
Why x64? Is this a HW availability limitation?
There was a problem hiding this comment.
Yes, this is the default image. There is a macOS-arm64 image and we need to figure out how to use it.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
There was a problem hiding this comment.
The hostArchitecture: Arm64 was missing.
There was a problem hiding this comment.
@akoeplinger Do you know if we can run macOS-arm64 containers?
There was a problem hiding this comment.
not if you run tests directly on the AzDO build machine, the arm64 macOS pool is only available in internal builds, not in public.
There was a problem hiding this comment.
Is the arm64 job redundant? Should we use Helix instead for arm64 jobs?
There was a problem hiding this comment.
which arm64 job? the one in this file only builds for arm64 which does work on x64.
if you can send to Helix then yeah you could send to an arm64 queue
There was a problem hiding this comment.
which arm64 job? the one in this file only builds for arm64 which does work on x64.
Yes, that was my question. So even it builds for arm64, it runs on x64.
Description
This PR introduces MacCatalyst tests using MAUI test runners and the xUnit framework. The goal is to update our infrastructure to support writing xUnit tests within MAUI projects. This will allow us to reference a NuGet package with bindings and run framework tests, such as in-app purchase.
Changes
test-job.ymlfor device testsContributes to #2850