Skip to content

Commit 21fbad8

Browse files
authored
Upgrade ADO pipelines' VS version to the latest (#26056)
### Description I created a new machine pool with the latest VS version. This PR upgrades all the ADO pipelines to use this VS version, except for the CUDA pipelines which are still using CUDA 12.2. Added code in Windows ARM64 jobs to pin cmake and vcpkg's versions. Added a powershell script to help setup nodejs on Windows ARM64 machines.
1 parent abc63e8 commit 21fbad8

File tree

56 files changed

+260
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+260
-167
lines changed

.github/actions/locate-vcvarsall-and-setup-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
steps:
1515

1616
- name: Setup VCPKG
17-
uses: microsoft/onnxruntime-github-actions/[email protected].8
17+
uses: microsoft/onnxruntime-github-actions/[email protected].9
1818
with:
1919
vcpkg-version: '2025.06.13'
2020
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
ndk-version: 28.0.13004108
3838

3939
- name: Get Docker Image using Action
40-
uses: microsoft/onnxruntime-github-actions/[email protected].8
40+
uses: microsoft/onnxruntime-github-actions/[email protected].9
4141
id: build_docker_image_step
4242
with:
4343
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -122,7 +122,7 @@ jobs:
122122
architecture: x64
123123

124124

125-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
125+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
126126
with:
127127
vcpkg-version: '2025.06.13'
128128
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'

.github/workflows/ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v5
2424
with:
2525
submodules: false
26-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
26+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
2727
with:
2828
vcpkg-version: '2025.06.13'
2929
vcpkg-hash: 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc

.github/workflows/linux-wasm-ci-build-and-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
python-version: "3.12"
5757
architecture: ${{ env.buildArch }}
5858

59-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
59+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
6060
with:
6161
vcpkg-version: '2025.06.13'
6262
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'

.github/workflows/linux_cuda_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Checkout code
5151
uses: actions/checkout@v5
5252

53-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
53+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
5454
id: build_docker_image_step
5555
with:
5656
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cuda
@@ -93,7 +93,7 @@ jobs:
9393
# So build.py --build_dir build/Release inside the container correctly finds the artifacts.
9494
- name: Test ONNX Runtime
9595
id: test_step
96-
uses: microsoft/onnxruntime-github-actions/[email protected].8
96+
uses: microsoft/onnxruntime-github-actions/[email protected].9
9797
with:
9898
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
9999
build_config: Release

.github/workflows/linux_minimal_build.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
node-version: 20
3838

39-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
39+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
4040
with:
4141
vcpkg-version: '2025.06.13'
4242
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -46,7 +46,7 @@ jobs:
4646
disable-terrapin: 'true'
4747

4848
- name: Build Full ORT and Prepare Test Files
49-
uses: microsoft/onnxruntime-github-actions/[email protected].8
49+
uses: microsoft/onnxruntime-github-actions/[email protected].9
5050

5151
- name: Upload Test Data Artifact
5252
uses: actions/upload-artifact@v4
@@ -73,7 +73,7 @@ jobs:
7373
node-version: 20
7474

7575
- name: Get Docker Image using Action
76-
uses: microsoft/onnxruntime-github-actions/[email protected].8
76+
uses: microsoft/onnxruntime-github-actions/[email protected].9
7777
id: build_docker_image_step
7878
with:
7979
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -84,7 +84,7 @@ jobs:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8585

8686
- name: Run Build 2 (Update)
87-
uses: microsoft/onnxruntime-github-actions/[email protected].8
87+
uses: microsoft/onnxruntime-github-actions/[email protected].9
8888
with:
8989
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
9090
build_config: Debug # From original --config Debug
@@ -98,7 +98,7 @@ jobs:
9898
--enable_training_ops
9999
100100
- name: Run Build 2 (Build)
101-
uses: microsoft/onnxruntime-github-actions/[email protected].8
101+
uses: microsoft/onnxruntime-github-actions/[email protected].9
102102
with:
103103
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
104104
build_config: Debug # From original --config Debug
@@ -129,7 +129,7 @@ jobs:
129129
with:
130130
node-version: 20
131131

132-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
132+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
133133
with:
134134
vcpkg-version: '2025.06.13'
135135
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -139,7 +139,7 @@ jobs:
139139
disable-terrapin: 'true'
140140

141141
- name: Build Full ORT and Prepare Test Files
142-
uses: microsoft/onnxruntime-github-actions/[email protected].8
142+
uses: microsoft/onnxruntime-github-actions/[email protected].9
143143
with:
144144
reduced-ops-config-file: required_ops.ort_models.config
145145
enable-custom-ops: 'true'
@@ -163,7 +163,7 @@ jobs:
163163
with:
164164
node-version: 20
165165

166-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
166+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
167167
with:
168168
vcpkg-version: '2025.06.13'
169169
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -172,7 +172,7 @@ jobs:
172172
add-cmake-to-path: 'true'
173173
disable-terrapin: 'true'
174174
- name: Build Full ORT and Prepare Test Files
175-
uses: microsoft/onnxruntime-github-actions/[email protected].8
175+
uses: microsoft/onnxruntime-github-actions/[email protected].9
176176
with:
177177
reduced-ops-config-file: required_ops_and_types.ort_models.config
178178
enable-type-reduction: 'true'
@@ -195,7 +195,7 @@ jobs:
195195
with:
196196
node-version: 20
197197

198-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
198+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
199199
with:
200200
vcpkg-version: '2025.06.13'
201201
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -205,7 +205,7 @@ jobs:
205205
disable-terrapin: 'true'
206206

207207
- name: Build Full ORT and Prepare Test Files
208-
uses: microsoft/onnxruntime-github-actions/[email protected].8
208+
uses: microsoft/onnxruntime-github-actions/[email protected].9
209209
with:
210210
globally_allowed_types: 'bool,float,int8_t,uint8_t'
211211
enable-type-reduction: 'true'
@@ -230,7 +230,7 @@ jobs:
230230
node-version: 20
231231

232232
- name: Get Docker Image using Action
233-
uses: microsoft/onnxruntime-github-actions/[email protected].8
233+
uses: microsoft/onnxruntime-github-actions/[email protected].9
234234
id: build_docker_image_step
235235
with:
236236
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -242,7 +242,7 @@ jobs:
242242

243243

244244
- name: Run Build 5 (Update)
245-
uses: microsoft/onnxruntime-github-actions/[email protected].8
245+
uses: microsoft/onnxruntime-github-actions/[email protected].9
246246
with:
247247
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
248248
build_config: Debug
@@ -254,7 +254,7 @@ jobs:
254254
--minimal_build extended
255255
256256
- name: Run Build 5 (Build)
257-
uses: microsoft/onnxruntime-github-actions/[email protected].8
257+
uses: microsoft/onnxruntime-github-actions/[email protected].9
258258
with:
259259
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
260260
build_config: Debug
@@ -265,7 +265,7 @@ jobs:
265265
--use_binskim_compliant_compile_flags
266266
--minimal_build extended
267267
- name: Run Build 5 (Test)
268-
uses: microsoft/onnxruntime-github-actions/[email protected].8
268+
uses: microsoft/onnxruntime-github-actions/[email protected].9
269269
with:
270270
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
271271
build_config: Debug
@@ -291,7 +291,7 @@ jobs:
291291
submodules: false
292292

293293
- name: Get Docker Image using Action
294-
uses: microsoft/onnxruntime-github-actions/[email protected].8
294+
uses: microsoft/onnxruntime-github-actions/[email protected].9
295295
id: build_docker_image_step
296296
with:
297297
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -308,7 +308,7 @@ jobs:
308308
touch ${{ runner.temp }}/.test_data/include_no_operators.config
309309
310310
- name: Run Build 6a (Update)
311-
uses: microsoft/onnxruntime-github-actions/[email protected].8
311+
uses: microsoft/onnxruntime-github-actions/[email protected].9
312312
with:
313313
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
314314
build_config: MinSizeRel
@@ -323,7 +323,7 @@ jobs:
323323
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF
324324
325325
- name: Run Build 6a (Build)
326-
uses: microsoft/onnxruntime-github-actions/[email protected].8
326+
uses: microsoft/onnxruntime-github-actions/[email protected].9
327327
with:
328328
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
329329
build_config: MinSizeRel
@@ -339,7 +339,7 @@ jobs:
339339
340340
341341
- name: Run Build 6a (Test)
342-
uses: microsoft/onnxruntime-github-actions/[email protected].8
342+
uses: microsoft/onnxruntime-github-actions/[email protected].9
343343
with:
344344
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
345345
build_config: MinSizeRel
@@ -374,7 +374,7 @@ jobs:
374374
touch ${{ runner.temp }}/.test_data/include_no_operators.config
375375
376376
- name: Get Docker Image using Action
377-
uses: microsoft/onnxruntime-github-actions/[email protected].8
377+
uses: microsoft/onnxruntime-github-actions/[email protected].9
378378
id: build_docker_image_step
379379
with:
380380
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -385,7 +385,7 @@ jobs:
385385
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
386386

387387
- name: Run Build 6b (Update)
388-
uses: microsoft/onnxruntime-github-actions/[email protected].8
388+
uses: microsoft/onnxruntime-github-actions/[email protected].9
389389
with:
390390
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
391391
build_config: MinSizeRel # From original --config MinSizeRel
@@ -403,7 +403,7 @@ jobs:
403403
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF
404404
405405
- name: Run Build 6b (Build)
406-
uses: microsoft/onnxruntime-github-actions/[email protected].8
406+
uses: microsoft/onnxruntime-github-actions/[email protected].9
407407
with:
408408
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
409409
build_config: MinSizeRel # From original --config MinSizeRel
@@ -441,7 +441,7 @@ jobs:
441441
touch ${{ runner.temp }}/.test_data/include_no_operators.config
442442
443443
- name: Get Docker Image using Action
444-
uses: microsoft/onnxruntime-github-actions/[email protected].8
444+
uses: microsoft/onnxruntime-github-actions/[email protected].9
445445
id: build_docker_image_step
446446
with:
447447
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -458,7 +458,7 @@ jobs:
458458
touch ${{ runner.temp }}/.test_data/include_no_operators.config
459459
460460
- name: Run Build 6c (Update)
461-
uses: microsoft/onnxruntime-github-actions/[email protected].8
461+
uses: microsoft/onnxruntime-github-actions/[email protected].9
462462
with:
463463
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
464464
build_config: MinSizeRel # From original --config MinSizeRel
@@ -476,7 +476,7 @@ jobs:
476476
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF
477477
478478
- name: Run Build 6c (Build)
479-
uses: microsoft/onnxruntime-github-actions/[email protected].8
479+
uses: microsoft/onnxruntime-github-actions/[email protected].9
480480
with:
481481
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
482482
build_config: MinSizeRel # From original --config MinSizeRel
@@ -518,7 +518,7 @@ jobs:
518518
path: ${{ runner.temp }}/.test_data/
519519

520520
- name: Get Docker Image using Action
521-
uses: microsoft/onnxruntime-github-actions/[email protected].8
521+
uses: microsoft/onnxruntime-github-actions/[email protected].9
522522
id: build_docker_image_step
523523
with:
524524
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile

.github/workflows/linux_tensorrt_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
# --- Build the Docker image needed for testing ---
5454
- name: Build Docker Image for Testing
55-
uses: microsoft/onnxruntime-github-actions/[email protected].8
55+
uses: microsoft/onnxruntime-github-actions/[email protected].9
5656
id: build_docker_image_step
5757
with:
5858
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cuda
@@ -95,7 +95,7 @@ jobs:
9595
# So build.py --build_dir build/Release inside the container correctly finds the artifacts.
9696
- name: Test ONNX Runtime
9797
id: test_step
98-
uses: microsoft/onnxruntime-github-actions/[email protected].8
98+
uses: microsoft/onnxruntime-github-actions/[email protected].9
9999
with:
100100
docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
101101
build_config: Release

.github/workflows/linux_webgpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
# - name: Checkout code
5252
# uses: actions/checkout@v4
5353

54-
# - uses: microsoft/onnxruntime-github-actions/[email protected].8
54+
# - uses: microsoft/onnxruntime-github-actions/[email protected].9
5555
# id: build_docker_image_step
5656
# with:
5757
# dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_webgpu
@@ -91,7 +91,7 @@ jobs:
9191

9292
# - name: Test ONNX Runtime
9393
# id: test_step
94-
# uses: microsoft/onnxruntime-github-actions/[email protected].8
94+
# uses: microsoft/onnxruntime-github-actions/[email protected].9
9595
# with:
9696
# docker_image: ${{ steps.build_docker_image_step.outputs.full-image-name }}
9797
# build_config: Release

.github/workflows/mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
steps:
7878
- name: Checkout code
7979
uses: actions/checkout@v5
80-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
80+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
8181
with:
8282
vcpkg-version: '2025.06.13'
8383
vcpkg-hash: 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc
@@ -125,7 +125,7 @@ jobs:
125125
steps:
126126
- name: Checkout code
127127
uses: actions/checkout@v5
128-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
128+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
129129
with:
130130
vcpkg-version: '2025.06.13'
131131
vcpkg-hash: 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc

.github/workflows/macos-ci-build-and-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
steps:
7676
- name: Checkout code
7777
uses: actions/checkout@v5
78-
- uses: microsoft/onnxruntime-github-actions/[email protected].8
78+
- uses: microsoft/onnxruntime-github-actions/[email protected].9
7979
with:
8080
vcpkg-version: '2025.06.13'
8181
vcpkg-hash: 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc

0 commit comments

Comments
 (0)