mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
Fix buildJava from Zip-Nuget-Java-Nodejs Packaging Pipeline (#19187)
### 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. -->
This commit is contained in:
parent
f87e69801f
commit
9da3e36138
2 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue