mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Publish perf tool with nightly build (#1728)
This commit is contained in:
parent
810ee0068f
commit
833e18345d
2 changed files with 24 additions and 0 deletions
|
|
@ -119,6 +119,20 @@
|
|||
Pack="true"
|
||||
Visible="false"
|
||||
/>
|
||||
<!-- Some tools to be packaged in nightly build only, should not be released -->
|
||||
<!-- These are copied to the runtimes folder for coveniennce of loading with the dlls -->
|
||||
<None Include="$(NativeBuildOutputDir)\onnxruntime_perf_test.exe"
|
||||
Condition="('$(IsReleaseBuild)' != 'true') And ($(TargetArchitecture)=='x64') And Exists('$(NativeBuildOutputDir)\onnxruntime_perf_test.exe')"
|
||||
PackagePath="\runtimes\win-$(TargetArchitecture)\native"
|
||||
Pack="true"
|
||||
Visible="false"
|
||||
/>
|
||||
<None Include="$(NativeBuildOutputDir)\onnx_test_runner.exe"
|
||||
Condition="('$(IsReleaseBuild)' != 'true') And ($(TargetArchitecture)=='x64') And Exists('$(NativeBuildOutputDir)\onnx_test_runner.exe')"
|
||||
PackagePath="\runtimes\win-$(TargetArchitecture)\native"
|
||||
Pack="true"
|
||||
Visible="false"
|
||||
/>
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -177,6 +177,15 @@ jobs:
|
|||
downloadPath: $(Build.BinariesDirectory)/nuget-artifact/final-package
|
||||
gitCommitHash: $(OnnxRuntimeGitCommitHashShort)
|
||||
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Get Current Date'
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
$date = $(Get-Date -Format "yyyy-MM-dd")
|
||||
Write-Host "##vso[task.setvariable variable=CurrentDate]$date"
|
||||
|
||||
- task: AzureFileCopy@3
|
||||
displayName: 'Copy Signed NuGet Package to Blob Store'
|
||||
condition: ne(variables['IsReleaseBuild'], 'true') # rlease build has a different package naming scheme
|
||||
|
|
@ -186,4 +195,5 @@ jobs:
|
|||
destination: azureBlob
|
||||
storage: ortpackages
|
||||
containerName: ortpackages
|
||||
blobPrefix: '$(CurrentDate)/'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue