Skip to content

Commit

Permalink
${{ if or(contains(parameters.buildparameter, 'use_cuda'), contains(…
Browse files Browse the repository at this point in the history
…parameters.buildparameter, 'use_tensorrt')) }}:
  • Loading branch information
jchen351 committed Jun 20, 2024
1 parent a58687d commit 8712551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/ci_build/github/azure-pipelines/templates/win-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ stages:
parameters:
msbuildPlatform: ${{ parameters.msbuildPlatform }}
java_artifact_id: ${{ parameters.java_artifact_id }}
${{ if contains(parameters.ort_build_pool_name, 'CPU') }}:
buildOnly: false
${{ if or(contains(parameters.buildparameter, 'use_cuda'), contains(parameters.buildparameter, 'use_tensorrt')) }}:
# When it is a GPU build, we only assemble the java binaries, testing will be done in the later stage with GPU machine
${{ else }}:
buildOnly: true
${{ else }}:
buildOnly: false

- task: PublishBuildArtifacts@1
displayName: 'Publish Java temp binaries'
Expand Down

0 comments on commit 8712551

Please sign in to comment.