From 035b95a88a58f40d11e38290c16c4f8a36ca0fc1 Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Mon, 15 Nov 2021 11:35:54 -0600 Subject: [PATCH] [ci] Update to VS2022 build agents. --- build-tools/automation/azure-pipelines.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index ce6da00d6..510b27fd2 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -3,12 +3,14 @@ trigger: - main - d16-* + - d17-* pr: branches: include: - main - d16-* + - d17-* paths: exclude: - README.md @@ -21,14 +23,15 @@ variables: MaxJdkVersion: 8 DotNetCoreVersion: 6.0.x HostedMacImage: macOS-10.15 - HostedWinVS2019: Hosted Windows 2019 with VS2019 + HostedWinImage: windows-2022 NetCoreTargetFrameworkPathSuffix: -net6.0 - VSInstallRoot: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise + VSInstallRoot: C:\Program Files\Microsoft Visual Studio\2022\Enterprise jobs: - job: windows_build displayName: Windows - .NET Framework - pool: $(HostedWinVS2019) + pool: + vmImage: $(HostedWinImage) timeoutInMinutes: 20 workspace: clean: all @@ -76,7 +79,8 @@ jobs: - job: windows_dotnet_build displayName: Windows - .NET Core - pool: $(HostedWinVS2019) + pool: + vmImage: $(HostedWinImage) timeoutInMinutes: 20 workspace: clean: all