Skip to content

Commit

Permalink
commented publish commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalarkadam committed Oct 2, 2024
1 parent 6fe622a commit 7b6d333
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/ci_build/github/android/build_aar_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _build_aar(args):
qnn_home = os.getenv("QNN_HOME")
qnn_sdk_version = os.getenv("QNN_SDK_VERSION")
if not qnn_sdk_version:
raise EnvironmentError("QNN_SDK_VERSION environment variable is not set.")
raise OSError("QNN_SDK_VERSION environment variable is not set.")
abi_build_command += ["--qnn_home=" + qnn_home]
if ops_config_path is not None:
abi_build_command += ["--include_ops_by_config=" + ops_config_path]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
parameters:
JarFileDirectory: '$(artifacts_directory)'

#- task: PublishBuildArtifacts@1
# inputs:
# pathtoPublish: '$(artifacts_directory)'
# artifactName: '${{parameters.artifactName}}'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(artifacts_directory)'
artifactName: '${{parameters.artifactName}}'
9 changes: 9 additions & 0 deletions tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ stages:
- Windows_Packaging_CPU_x64_${{ parameters.BuildVariant }}
- Windows_Packaging_CPU_arm64_${{ parameters.BuildVariant }}
- Android_Java_API_AAR_Packaging_Full
#- Android_Java_API_AAR_Packaging_QNN
- iOS_Full_xcframework
condition: succeeded()
jobs:
Expand Down Expand Up @@ -362,6 +363,14 @@ stages:
SpecificArtifact: ${{ parameters.specificArtifact }}
BuildId: ${{ parameters.BuildId }}

#- template: flex-downloadPipelineArtifact.yml
# parameters:
# StepName: 'Download Android-QNN-aar Pipeline Artifact'
# ArtifactName: 'onnxruntime-android-qnn-aar'
# TargetPath: '$(Build.BinariesDirectory)/nuget-artifact'
# SpecificArtifact: ${{ parameters.specificArtifact }}
# BuildId: ${{ parameters.BuildId }}

- template: flex-downloadPipelineArtifact.yml
parameters:
StepName: 'Download drop-extra Pipeline Artifact'
Expand Down

0 comments on commit 7b6d333

Please sign in to comment.