onnxruntime/tools/ci_build/github/azure-pipelines/templates
Jian Chen 06a84c8a0d
Enable DML on Windows and CUDA on Linux for Node.js binding (#19274)
This pull request includes modifications to the `c-api-cpu.yml` Azure
Pipelines configuration file. The changes mainly revolve around the
Node.js packaging stage and the handling of Node.js artifacts. The most
significant changes include renaming the Node.js packaging stage, adding
a new dependency to the stage, changing artifact names, adding a new
script to list Node.js artifacts, and updating the source folder for
copying NuGet binaries.

Changes in Node.js packaging:

*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59L503-R508):
Renamed the Node.js packaging stage from `Nodejs_Packaging_CPU` to
`Nodejs_Packaging` and added `Windows_CI_GPU_DML_Dev` as a new
dependency to the stage.

Changes in handling of Node.js artifacts:

*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59L568-R569):
Changed the artifact name from `drop-onnxruntime-nodejs-win-x64` to
`drop-onnxruntime-nodejs-win-x64-dml` in the task to download pipeline
artifacts for Windows x64.
*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59R595-R598):
Added a new script to list Node.js artifacts from the directory
`$(Build.BinariesDirectory)/nodejs-artifacts/win32/x64/`.
*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59L635-R640):
Updated the source folder from
`$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo\nuget-artifacts\onnxruntime-win-x64\lib`
to `$(Build.BinariesDirectory)\nodejs-artifacts\win32\x64` in the task
to copy NuGet binaries to the directory
`$(Build.SourcesDirectory)\js\node\bin\napi-v3\win32\x64`.

---------

Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com>
2024-02-05 14:33:58 -08:00
..
jobs Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
stages Download protoc for all Apple host builds, remove protoc build from iOS packaging pipeline. (#19209) 2024-01-19 15:30:09 -08:00
android-binary-size-check-stage.yml
android-dump-logs-from-steps.yml
android-java-api-aar-test.yml Attempt to make the usage of the Android emulator in CIs more robust (#17903) 2023-10-15 08:42:36 +10:00
android-java-api-aar.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
build-linux-wasm-step.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml Add cuda context headers to zip (#18330) 2023-11-09 14:53:58 -08:00
c-api-cpu.yml Enable DML on Windows and CUDA on Linux for Node.js binding (#19274) 2024-02-05 14:33:58 -08:00
c-api-linux-cpu.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
check-cache-stats.yml
clean-agent-build-directory-step.yml
common-variables.yml
compliance.yml
component-governance-component-detection-steps.yml
download-deps.yml Add coremltools 7.1 as a dependency (#19389) 2024-02-03 09:42:21 +10:00
esrp_nuget.yml
explicitly-defined-final-tasks.yml
final-jar-testing.yml Reduce downloads in Nuget-Java pipeline to reduce connection exception (#18635) 2023-12-01 07:44:44 +08:00
flex-downloadPipelineArtifact.yml
get-docker-image-steps.yml
install-appcenter.yml
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml
linux-ci.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-cpu-packaging-pipeline.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-gpu-tensorrt-packaging-pipeline.yml Create a new Nuget Package pipeline for CUDA 12 (#18135) 2023-11-28 09:03:46 -08:00
linux-wasm-ci.yml enable webnn in ci build (#19163) 2024-01-18 13:11:47 -08:00
linux-web-init-and-check.yml [js/web] fix typescript type check (#18343) 2023-11-10 16:03:38 -08:00
mac-build-step-with-cache.yml
mac-cpu-packaging-pipeline.yml
mac-cpu-packaging-steps.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
mac-cpu-packing-jobs.yml Update min macos version (#18251) 2023-11-10 11:08:17 -08:00
mac-esrp-dylib.yml
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
orttraining-linux-gpu-test-ci-pipeline.yml
py-linux-gpu.yml Create a new Python Package pipeline for CUDA 12 (#18348) 2023-11-20 09:48:28 -08:00
py-linux.yml Remove Windows ARM32 from nuget packaging pipelines (#19049) 2024-01-09 07:45:03 -08:00
py-package-smoking-test.yml Adding python3.12 support to ORT (#18814) 2024-01-11 08:34:28 -08:00
py-packaging-linux-test-cpu.yml
py-packaging-linux-test-cuda.yml Change cuda image for tensorRT to the one with cudnn8 (#18102) 2023-10-26 16:28:57 -07:00
py-packaging-selectable-stage.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
py-packaging-stage.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
py-packaging-training-cuda-stage.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
py-win-arm64-qnn.yml [QNN EP] Create Windows ARM64 nightly python package (#19128) 2024-01-22 18:14:41 -08:00
py-win-gpu.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
react-native-ci.yml Add MacOS build to ORT C Pod (#18550) 2023-11-28 10:11:53 -08:00
rocm.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml Set pythonInterpreter in set-python-manylinux-variables-step.yml (#19105) 2024-01-12 07:22:02 -08:00
set-version-number-variables-step.yml
telemetry-steps.yml
upload-code-coverage-data.yml
use-android-emulator.yml Attempt to make the usage of the Android emulator in CIs more robust (#17903) 2023-10-15 08:42:36 +10:00
use-android-ndk.yml Update NDK version to 26.1.10909125 (#18493) 2023-11-17 14:14:01 -08:00
use-xcode-version.yml Enable Address Sanitizer in CI (#19073) 2024-01-12 07:24:40 -08:00
validate-package.yml
web-browserstack-ci.yml
web-ci.yml Update web-ci.yml: remove depth=1 (#18500) 2023-11-17 22:49:03 -08:00
win-ci.yml Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
win-esrp-dll.yml
win-wasm-ci.yml enable webnn in ci build (#19163) 2024-01-18 13:11:47 -08:00
win-web-ci.yml [web] remove xnnpack from web backends (#19116) 2024-01-13 23:04:02 -08:00
win-web-multi-browsers.yml [web] remove xnnpack from web backends (#19116) 2024-01-13 23:04:02 -08:00
with-container-registry-steps.yml