Skip to content

Commit

Permalink
Fix buildJava from Zip-Nuget-Java-Nodejs Packaging Pipeline (#19187)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
  • Loading branch information
jchen351 authored Jan 18, 2024
1 parent f87e698 commit 9da3e36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ stages:
CudaVersion: ${{ parameters.CudaVersion }}
docker_base_image: ${{ variables.docker_base_image }}
linux_trt_version: ${{ variables.linux_trt_version }}
buildJava: true
buildNodejs: true

#CUDA without tensorrt
- template: templates/win-ci.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ parameters:
type: string
- name: linux_trt_version
type: string
- name: buildJava
type: boolean
default: false
- name: buildNodejs
type: boolean
default: false

stages:
# Linux CUDA without TensorRT Packaging
Expand Down Expand Up @@ -66,9 +72,9 @@ stages:
parameters:
artifactName: 'onnxruntime-linux-x64-tensorrt-$(OnnxRuntimeVersion)'
artifactNameNoVersionString: 'onnxruntime-linux-x64-tensorrt'
buildJava: false
buildJava: ${{ parameters.buildJava }}
buildJavaOption: '--build_java'
buildNodejs: false
buildNodejs: ${{ parameters.buildNodejs }}
buildNodejsOption: '--build_nodejs'
CudaVersion: ${{ parameters.CudaVersion }}
# Linux CUDA Combined Testing and Publishing
Expand Down

0 comments on commit 9da3e36

Please sign in to comment.