From 2cfee5744b6b2c5d1f7eb96dc1b391255b9abc04 Mon Sep 17 00:00:00 2001 From: Ori Levari Date: Wed, 27 Nov 2019 11:36:20 -0800 Subject: [PATCH] Layer dev release pipeline (#2488) Adds winml binaries to existing cpu nuget package, and creates new gpu dml nuget package with winml binaries and DML EP. --- cmake/winml_unittests.cmake | 2 ++ .../Microsoft.ML.OnnxRuntime.csproj | 22 +++++++++++++ .../azure-pipelines/nuget/templates/cpu.yml | 4 +-- .../azure-pipelines/nuget/templates/gpu.yml | 31 +++++++++++++++++-- 4 files changed, 55 insertions(+), 4 deletions(-) diff --git a/cmake/winml_unittests.cmake b/cmake/winml_unittests.cmake index cd89135366..d078465c55 100644 --- a/cmake/winml_unittests.cmake +++ b/cmake/winml_unittests.cmake @@ -55,6 +55,8 @@ endfunction() file(GLOB winml_test_common_src CONFIGURE_DEPENDS "${WINML_TEST_SRC_DIR}/common/*.cpp") add_library(winml_test_common STATIC ${winml_test_common_src}) +add_dependencies(winml_test_common onnx) +add_dependencies(winml_test_common winml_api) set_winml_target_properties(winml_test_common) file(GLOB winml_test_api_src CONFIGURE_DEPENDS "${WINML_TEST_SRC_DIR}/api/*.cpp") diff --git a/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj b/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj index ba2e9e7f23..45009e6c8e 100644 --- a/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj +++ b/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj @@ -55,6 +55,14 @@ Visible="false" /> + + +