Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch to mac MS-Hosted agents #380

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
carlh98 marked this conversation as resolved.
Show resolved Hide resolved
- 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