Skip to content

Commit

Permalink
Update dml path
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jan 25, 2024
1 parent a2867b9 commit 6d88c65
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,12 @@ stages:
displayName: 'Clean Agent Directories'
condition: always()

- stage: Nodejs_Packaging_CPU
- stage: Nodejs_Packaging
dependsOn:
- Linux_C_API_Packaging_CPU
- MacOS_C_API_Package_Publish
- Windows_Packaging_CPU_x64_${{ parameters.BuildVariant }}
- Windows_CI_GPU_DML_Dev
- Windows_Packaging_CPU_arm64_${{ parameters.BuildVariant }}
condition: succeeded()
jobs:
Expand Down Expand Up @@ -565,7 +566,7 @@ stages:
- task: DownloadPipelineArtifact@0
displayName: 'Download Pipeline Artifact - Nodejs (Win x64)'
inputs:
artifactName: 'drop-onnxruntime-nodejs-win-x64'
artifactName: 'drop-onnxruntime-nodejs-win-x64-dml'
targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/x64/'

- task: DownloadPipelineArtifact@0
Expand All @@ -591,6 +592,10 @@ stages:
inputs:
artifactName: 'drop-onnxruntime-nodejs-linux-x64'
targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/linux/x64/'
- script: |
dir
workingDirectory: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/x64/'
displayName: 'List Nodejs artifacts from $(Build.BinariesDirectory)/nodejs-artifacts/win32/x64/'
- task: DownloadPipelineArtifact@0
displayName: 'Download Pipeline Artifact - Nodejs (Linux aarch64)'
Expand Down Expand Up @@ -632,7 +637,7 @@ stages:
- task: CopyFiles@2
displayName: 'Copy nuget binaries to: $(Build.SourcesDirectory)\js\node\bin\napi-v3\win32\x64\'
inputs:
SourceFolder: '$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo\nuget-artifacts\onnxruntime-win-x64\lib'
SourceFolder: '$(Build.BinariesDirectory)\nodejs-artifacts\win32\x64'
Contents: '*.dll'
TargetFolder: '$(Build.SourcesDirectory)\js\node\bin\napi-v3\win32\x64'
- task: CopyFiles@2
Expand Down

0 comments on commit 6d88c65

Please sign in to comment.