Skip to content

Commit fb955d7

Browse files
Update default-build.yml (#104)
1 parent 547d719 commit fb955d7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.azure/default-build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,24 @@ jobs:
9090
pool:
9191
${{ if eq(parameters.agentOs, 'macOS') }}:
9292
name: Azure Pipelines
93-
image: macOS-12
93+
image: macOS-13
9494
os: macOS
9595
${{ if eq(parameters.agentOs, 'Linux') }}:
9696
name: $(DncEngInternalBuildPool)
97-
image: 1es-ubuntu-2004
97+
image: 1es-ubuntu-2204
9898
os: linux
9999
${{ if eq(parameters.agentOs, 'Windows') }}:
100100
name: $(DncEngInternalBuildPool)
101-
image: windows.vs2019.amd64
101+
image: windows.vs2022preview.amd64
102102
os: windows
103103
steps:
104104
- checkout: self
105105
clean: true
106106

107+
- ${{ if eq(parameters.agentOs, 'Windows') }}:
108+
- script: eng\common\init-tools-native.cmd
109+
displayName: Install native dependencies
110+
107111
- task: CacheBeta@1
108112
inputs:
109113
key: vcpkg | ${{ parameters.agentOs }} | azure-pipelines.yml
@@ -145,4 +149,4 @@ jobs:
145149
inputs:
146150
testRunner: junit
147151
testResultsFiles: '$(Build.ArtifactStagingDirectory)/testOut/**/*.xml'
148-
testRunTitle: ${{ parameters.agentOs }}-unit_test
152+
testRunTitle: ${{ parameters.agentOs }}-unit_test

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"msbuild-sdks": {
1111
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.24475.3",
1212
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.24475.3"
13+
},
14+
"native-tools": {
15+
"cmake": "3.21.0"
1316
}
1417
}

0 commit comments

Comments
 (0)