diff --git a/.azure/default-build.yml b/.azure/default-build.yml index 090fd23..43f5039 100644 --- a/.azure/default-build.yml +++ b/.azure/default-build.yml @@ -90,20 +90,24 @@ jobs: pool: ${{ if eq(parameters.agentOs, 'macOS') }}: name: Azure Pipelines - image: macOS-12 + image: macOS-13 os: macOS ${{ if eq(parameters.agentOs, 'Linux') }}: name: $(DncEngInternalBuildPool) - image: 1es-ubuntu-2004 + image: 1es-ubuntu-2204 os: linux ${{ if eq(parameters.agentOs, 'Windows') }}: name: $(DncEngInternalBuildPool) - image: windows.vs2019.amd64 + image: windows.vs2022preview.amd64 os: windows steps: - checkout: self clean: true + - ${{ if eq(parameters.agentOs, 'Windows') }}: + - script: eng\common\init-tools-native.cmd + displayName: Install native dependencies + - task: CacheBeta@1 inputs: key: vcpkg | ${{ parameters.agentOs }} | azure-pipelines.yml @@ -145,4 +149,4 @@ jobs: inputs: testRunner: junit testResultsFiles: '$(Build.ArtifactStagingDirectory)/testOut/**/*.xml' - testRunTitle: ${{ parameters.agentOs }}-unit_test \ No newline at end of file + testRunTitle: ${{ parameters.agentOs }}-unit_test diff --git a/global.json b/global.json index dfc2445..5aa6121 100644 --- a/global.json +++ b/global.json @@ -10,5 +10,8 @@ "msbuild-sdks": { "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.24475.3", "Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.24475.3" + }, + "native-tools": { + "cmake": "3.21.0" } }