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: