From bf54c91d32ba1d032f813c570b9ba7633613f329 Mon Sep 17 00:00:00 2001 From: carzh Date: Fri, 17 Jan 2025 12:01:01 -0800 Subject: [PATCH] attempted to fix parameters --- .../nuget/templates/test_android.yml | 15 +++++++++++---- .../azure-pipelines/templates/c-api-cpu.yml | 5 +++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml index 494963ef8e..d3e0a9f784 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml @@ -1,5 +1,8 @@ parameters: AgentPool : 'Win-CPU' + ArtifactSuffix: '' + SpecificArtifact: false + BuildId: '' stages: - stage: NuGet_Test_Android @@ -7,10 +10,14 @@ stages: - NuGet_Packaging_CPU condition: succeeded() jobs: - - job: NuGet_Test_Android - workspace: - clean: all - pool: "${{ parameters.AgentPool }}" + - job: NuGet_Test_Android + workspace: + clean: all + pool: "${{ parameters.AgentPool }}" + + variables: + - name: OnnxRuntimeBuildDirectory + value: '$(Build.BinariesDirectory)' steps: - task: NuGetToolInstaller@0 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 17323b70c0..b4882f96c6 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 @@ -811,6 +811,11 @@ stages: BuildId: ${{ parameters.BuildId }} - template: ../nuget/templates/test_android.yml + parameters: + AgentPool : 'onnxruntime-Win-CPU-2022' + SpecificArtifact: ${{ parameters.SpecificArtifact }} + BuildId: ${{ parameters.BuildId }} + - template: ../nuget/templates/test_linux.yml parameters: