From ddf9b873ad0835637eb9a544ffb1444fb6f03685 Mon Sep 17 00:00:00 2001 From: Wenbing Li <10278425+wenbingl@users.noreply.github.com> Date: Fri, 29 Jan 2021 15:23:05 -0800 Subject: [PATCH] Update mshost.yaml for Azure Pipelines (#46) * Update mshost.yaml for Azure Pipelines * Update mshost.yaml for Azure Pipelines * Update mshost.yaml * Update mshost.yaml for Azure Pipelines --- ci_build/azure-pipelines/mshost.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ci_build/azure-pipelines/mshost.yaml b/ci_build/azure-pipelines/mshost.yaml index ada281ab..03467692 100644 --- a/ci_build/azure-pipelines/mshost.yaml +++ b/ci_build/azure-pipelines/mshost.yaml @@ -111,6 +111,24 @@ jobs: - script: conda create --yes --quiet --name pyenv -c conda-forge python=3.8 numpy displayName: Create Anaconda environment + - task: DownloadGitHubRelease@0 + inputs: + connection: 'microsoft' + userRepository: 'microsoft/onnxruntime' + defaultVersionType: 'specificVersion' + version: '34858191' + itemPattern: '*-win-x64-1.6.0*' + downloadPath: '$(Build.sourcesdirectory)' + displayName: Download the ONNXRuntime prebuilt package. + + - task: ExtractFiles@1 + inputs: + archiveFilePatterns: '**/*.zip' + destinationFolder: '$(Build.sourcesdirectory)' + cleanDestinationFolder: false + overwriteExistingFiles: true + displayName: Unpack Ort package. + - script: | call activate pyenv python -m pip install --upgrade pip