зеркало из https://github.com/dotnet/aspnetcore.git
Use macOS-12 in CI (#53145)
* Try macOS-latest instead of macOS-11 in CI * Update default-build.yml * Update default-build.yml
This commit is contained in:
Родитель
3e6a95a629
Коммит
1c6c347330
|
@ -110,7 +110,7 @@ jobs:
|
|||
# See https://github.com/dotnet/arcade/blob/master/Documentation/ChoosingAMachinePool.md
|
||||
pool:
|
||||
${{ if eq(parameters.agentOs, 'macOS') }}:
|
||||
vmImage: macOS-11
|
||||
vmImage: macOS-12
|
||||
${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||
${{ if and(eq(parameters.useHostedUbuntu, true), or(ne(variables['System.TeamProject'], 'internal'), in(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule'))) }}:
|
||||
vmImage: ubuntu-20.04
|
||||
|
@ -188,8 +188,8 @@ jobs:
|
|||
- script: df -h
|
||||
displayName: Disk size
|
||||
- ${{ if eq(parameters.agentOs, 'macOS') }}:
|
||||
- script: sudo xcode-select -s /Applications/Xcode_12.5.1.app/Contents/Developer
|
||||
displayName: Use XCode 12.5.1
|
||||
- script: sudo xcode-select -s /Applications/Xcode_14.2.0.app/Contents/Developer
|
||||
displayName: Use XCode 14.2.0
|
||||
- checkout: self
|
||||
clean: true
|
||||
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isAzDOTestingJob, true)) }}:
|
||||
|
|
Загрузка…
Ссылка в новой задаче