From 087df3fb5bdd6526f30b319f94375176df019e58 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 3 Feb 2026 21:20:24 -0500 Subject: [PATCH 1/2] Fix --- .../github/azure-pipelines/templates/py-win-arm64-qnn.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml index 3ea75701accb1..cc09550a67a35 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml @@ -7,7 +7,7 @@ parameters: - name: PYTHON_VERSION type: string default: '3.11' - + - name: QNN_SDK displayName: QNN SDK Version type: string @@ -32,7 +32,8 @@ jobs: name: ${{ parameters.MACHINE_POOL }} os: windows hostArchitecture: Arm64 - templateContext: + demands: + - Agent.Version -equals 4.264.2 templateContext: sdl: codeSignValidation: enabled: true From 95a3fd633e6c5bfc816c70b779aeed15d1a5076c Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 3 Feb 2026 21:25:47 -0500 Subject: [PATCH 2/2] . --- .../github/azure-pipelines/templates/py-win-arm64-qnn.yml | 3 ++- .../github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml index cc09550a67a35..50229d91fbf03 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml @@ -33,7 +33,8 @@ jobs: os: windows hostArchitecture: Arm64 demands: - - Agent.Version -equals 4.264.2 templateContext: + - Agent.Version -equals 4.264.2 + templateContext: sdl: codeSignValidation: enabled: true diff --git a/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml index 51581814a4b81..f5b5c4cbdb3e4 100644 --- a/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml @@ -37,7 +37,10 @@ parameters: jobs: - job: 'BUILD_QNN_EP' - pool: 'onnxruntime-qnn-windows-vs-2022-arm64' + pool: + name: 'onnxruntime-qnn-windows-vs-2022-arm64' + demands: + - Agent.Version -equals 4.264.2 variables: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true buildArch: arm64 @@ -83,7 +86,7 @@ jobs: --config $(BuildConfig) --build_dir $(Build.BinariesDirectory) --cmake_generator "Visual Studio 17 2022" - --build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache + --build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache --use_qnn $(QnnLibKind) --qnn_home $(QnnSDKRootDir) --update --build --parallel $(ExtraQnnBuildArgs)