diff --git a/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml b/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml index 3803333bd880a..aa1a75bfcda45 100644 --- a/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml +++ b/tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml @@ -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 diff --git a/tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.yml b/tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.yml index dbbc9ef27e513..db9bcacbf0754 100644 --- a/tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.yml +++ b/tools/ci_build/github/azure-pipelines/stages/nuget-linux-cuda-packaging-stage.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