Skip to content
Merged
6 changes: 3 additions & 3 deletions build-tools/automation/azure-pipelines-apidocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ stages:
- job: mac_build_update_docs
displayName: Update API Docs
pool:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- macOS.Name -equals $(SharedMacName)
- Agent.OSArchitecture -equals $(SharedMacArch)
timeoutInMinutes: 120
workspace:
clean: all
Expand Down
14 changes: 7 additions & 7 deletions build-tools/automation/azure-pipelines-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ stages:
- job: mac_build_create_installers
displayName: macOS > Create Installers
pool:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- macOS.Name -equals $(SharedMacName)
- Agent.OSArchitecture -equals $(SharedMacArch)
timeoutInMinutes: 420
workspace:
clean: all
Expand Down Expand Up @@ -185,9 +185,9 @@ stages:
strategy:
parallel: 3
pool:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Name -equals $(SharedMacName)
- macOS.Architecture -equals x64
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume we are intentionally keeping the tests on x64?

Out of curiosity, did you try arm64? Was there an issue? Were they faster/slower?

Copy link
Member Author

@pjcollins pjcollins Nov 7, 2024

Choose a reason for hiding this comment

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

I'm planning to revisit this for the MSBuild and emulator test jobs on both our regular CI and nightly. I don't have the full set of issues I've ran into with different machines in the past but wanted to leave this unchanged for now and look at upgrading most of the test stages separately. The Apple silicon machines definitely seem to be faster, at least for our build stages.

timeoutInMinutes: 120
workspace:
Expand Down Expand Up @@ -241,9 +241,9 @@ stages:
strategy:
parallel: 6
pool:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Name -equals $(SharedMacName)
- macOS.Architecture -equals x64
timeoutInMinutes: 150
workspace:
Expand Down
6 changes: 3 additions & 3 deletions build-tools/automation/yaml-templates/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ stages:
displayName: ${{ parameters.jobDisplayName }}
pool:
${{ if or(eq(variables['Build.DefinitionName'], 'Xamarin.Android-PR'), eq(variables['Build.DefinitionName'], 'Xamarin.Android Nightly')) }}:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- macOS.Name -equals $(SharedMacName)
- Agent.OSArchitecture -equals $(SharedMacArch)
${{ else }}:
name: Azure Pipelines
vmImage: $(HostedMacImage)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- job: mac_${{ parameters.jobName }}_tests
displayName: ${{ parameters.jobName }} Emulator Tests
pool:
name: VSEng-VSMac-Xamarin-Shared
name: $(SharedMacPool)
demands:
- macOS.Name -equals Ventura
- macOS.Name -equals $(SharedMacName)
- macOS.Architecture -equals x64
timeoutInMinutes: ${{ parameters.jobTimeout }}
workspace:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
${{ if eq(parameters.testOS, 'macOS') }}:
pool:
name: Azure Pipelines
vmImage: $(HostedMacImage)
image: $(HostedMacImage)
os: macOS
timeoutInMinutes: 240
cancelTimeoutInMinutes: 5
Expand Down
6 changes: 6 additions & 0 deletions build-tools/automation/yaml-templates/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ variables:
value: $(github--pat--vs-mobiletools-engineering-service2)
- name: HostedMacImage
value: macOS-14
- name: SharedMacPool
value: VSEng-VSMac-Xamarin-Shared
- name: SharedMacName
value: Sonoma
- name: SharedMacArch
value: arm64
- name: HostedWinImage
value: windows-2022
- name: WindowsPoolImage1ESPT
Expand Down