Skip to content

Commit

Permalink
chore: switch to mac MS-Hosted agents
Browse files Browse the repository at this point in the history
  • Loading branch information
carlh98 committed Dec 8, 2023
1 parent 3933efd commit c05aaa8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Prefix your items with `(Template)` if the change is about the template and not
- Enable `TreatWarningsAsErrors` for the Access, Business, and Presentation projects.
- Update analyzers packages and severity of rules.
- Fix crash from ARM base mac on net7.0-iOS. Add `ForceSimulatorX64ArchitectureInIDE` property to mobile head.
- Consolidate build agents to Microsoft-hosted agents.
- Consolidate Windows and macOS build agents to Microsoft-hosted agents.

## 2.0.X
- Renamed the classes providing data to use the `Repository` suffix instead of `Endpoint` or `Service`.
Expand Down
2 changes: 1 addition & 1 deletion build/stage-release-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- deployment: AppCenter_iOS
pool:
name: $(macOSPoolName)
vmImage: $(macOSHostedAgentImage)
demands:
- fastlane
variables:
Expand Down
4 changes: 1 addition & 3 deletions build/stage-release-appstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ jobs:
- deployment: AppStore_iOS_${{ parameters.deploymentEnvironment}}

pool:
name: $(macOSPoolName)
demands:
- Xamarin.iOS_Version -equals $(XAMARIN_IOS_VERSION)
vmImage: $(macOSHostedAgentImage)

environment: ${{ parameters.deploymentEnvironment }}

Expand Down
2 changes: 1 addition & 1 deletion build/templates/gitversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ steps:
- task: gitversion/setup@0
retryCountOnTaskFailure: 3
inputs:
versionSpec: '5.10.1'
versionSpec: '5.12.0'
displayName: 'Install GitVersion'

#-if false
Expand Down
4 changes: 0 additions & 4 deletions build/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ variables:
# Virtual machine images
windowsHostedAgentImage: 'windows-2022'
macOSHostedAgentImage: 'macOS-12'
macOSPoolName: 'macOS'

# Versions to use
XAMARIN_IOS_VERSION: 16.1.1

# Name of the folder where the artefacts will be placed. Variable used in build and release phases.
# We make seperate folders so that releases can each download only the folder they need.
Expand Down

0 comments on commit c05aaa8

Please sign in to comment.