File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 19
19
webgpu_build_x64_RelWithDebInfo :
20
20
runs-on : ["self-hosted", "1ES.Pool=onnxruntime-github-Win2022-GPU-A10"]
21
21
timeout-minutes : 300
22
+ strategy :
23
+ matrix :
24
+ vcpkg_option : [novcpkg, vcpkg]
22
25
env :
23
26
OrtPackageId : Microsoft.ML.OnnxRuntime
24
27
OnnxRuntimeBuildDirectory : ${{ github.workspace }}
@@ -107,7 +110,23 @@ jobs:
107
110
- name : Build and Test
108
111
shell : pwsh
109
112
run : |
110
- python.exe ${{ github.workspace }}\tools\ci_build\build.py --config RelWithDebInfo --build_dir ${{ github.workspace }} --skip_submodule_sync --build_csharp --parallel --use_binskim_compliant_compile_flags --cmake_generator "Visual Studio 17 2022" --build_shared_lib --enable_onnx_tests --build_nodejs --use_webgpu --cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=ON onnxruntime_BUILD_DAWN_MONOLITHIC_LIBRARY=ON
113
+ $vcpkgFlag = if ("${{ matrix.vcpkg_option }}" -eq "vcpkg") { "--use_vcpkg" } else { "" }
114
+ python.exe ${{ github.workspace }}\tools\ci_build\build.py `
115
+ --config RelWithDebInfo `
116
+ --build_dir ${{ github.workspace }} `
117
+ --skip_submodule_sync `
118
+ --build_csharp `
119
+ --parallel `
120
+ --use_binskim_compliant_compile_flags `
121
+ --cmake_generator "Visual Studio 17 2022" `
122
+ --build_shared_lib `
123
+ --enable_onnx_tests `
124
+ --build_nodejs `
125
+ --use_webgpu `
126
+ $vcpkgFlag `
127
+ --cmake_extra_defines `
128
+ onnxruntime_BUILD_UNIT_TESTS=ON `
129
+ onnxruntime_BUILD_DAWN_MONOLITHIC_LIBRARY=ON
111
130
if ($lastExitCode -ne 0) {
112
131
exit $lastExitCode
113
132
}
You can’t perform that action at this time.
0 commit comments