From 0c5ebdaf160cd87620a2ffa4c28a448ef8ce101f Mon Sep 17 00:00:00 2001 From: Kyle Zhang Date: Mon, 25 Nov 2024 11:45:48 +0800 Subject: [PATCH] 1. fix qnn test. 2. add env --- tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml | 1 + tools/ci_build/github/azure-pipelines/templates/win-ci.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index ee6fc712161df..fa2eac305a646 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -104,6 +104,7 @@ stages: artifactName: 'onnxruntime-android-qnn-aar' job_name_suffix: 'QNN' packageName: 'onnxruntime-android-qnn' + ReleaseVersionSuffix: $(ReleaseVersionSuffix) - stage: iOS_Full_xcframework dependsOn: [] diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml index ba4f744db7c2e..7d1f5c2576203 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml @@ -187,7 +187,8 @@ stages: scriptPath: '$(Build.SourcesDirectory)\tools\ci_build\build.py' arguments: '--config RelWithDebInfo --use_binskim_compliant_compile_flags --enable_lto --disable_rtti --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --build_shared_lib --update --cmake_generator "$(VSGenerator)" --enable_onnx_tests $(TelemetryOption) ${{ parameters.buildparameter }} $(timeoutParameter) $(buildJavaParameter)' workingDirectory: '$(Build.BinariesDirectory)' - + env: + ReleaseVersionSuffix: $(ReleaseVersionSuffix) - task: VSBuild@1 displayName: 'Build'