Skip to content

Commit e5caa04

Browse files
committed
update yml
1 parent b9a3cb9 commit e5caa04

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/windows_webgpu.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,18 +233,29 @@ jobs:
233233
--parallel `
234234
--use_binskim_compliant_compile_flags `
235235
--cmake_generator "Visual Studio 17 2022" `
236-
--build_shared_lib `
237236
--enable_onnx_tests `
238237
--use_webgpu shared_lib `
239238
--wgsl_template static `
240239
--use_vcpkg --use_vcpkg_ms_internal_asset_cache `
241-
--cmake_extra_defines `
242-
onnxruntime_BUILD_UNIT_TESTS=ON
240+
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=ON `
241+
--disable_rtti `
242+
--enable_lto
243+
243244
if ($lastExitCode -ne 0) {
244245
exit $lastExitCode
245246
}
246247
Remove-Item "${{ github.workspace }}\RelWithDebInfo" -Include "*.obj" -Recurse
247248
249+
- name: Publish artifacts
250+
uses: actions/upload-artifact@v4
251+
with:
252+
name: webgpu-plugin-binaries
253+
path: |
254+
${{ github.workspace }}/RelWithDebInfo/RelWithDebInfo/onnxruntime_providers_webgpu.dll
255+
${{ github.workspace }}/RelWithDebInfo/RelWithDebInfo/onnxruntime_providers_webgpu.pdb
256+
${{ github.workspace }}/RelWithDebInfo/RelWithDebInfo/dxcompiler.dll
257+
${{ github.workspace }}/RelWithDebInfo/RelWithDebInfo/dxil.dll
258+
248259
webgpu_external_dawn_build_x64_RelWithDebInfo:
249260
runs-on: [
250261
"self-hosted",

0 commit comments

Comments
 (0)