mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
* added packaging pipeline * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * put the c-api header file at root instead of under core/session * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * Update win-ci-pipeline.yml for Azure Pipelines * parameterize the windows build script * Update win-package-pipeline.yml for Azure Pipelines * fixed indenting * fixed indenting * fix parameter reference syntax * try using arch = amd64 for the vcvarsall * remove duplicate tasks * use vcvarsall * some more refactor * fix typo * fix typo * factored out the packaging step into a template * add x86 build to package pipeline * use amd64 for vcvars arg * added gpu pipeline. added msbuild platform param * fix the msbuild platform * use amd64 host for x86 build * use buildarch=x86 for vcvarsall * remove vcvars from setup steps * add some logging for PNG lib, and disable fns_candy demo for win32 * set allocator alignment to 32 bit for win32 compiler * disable parallel execution test for x86 * use 64 bit toolchain for x86 build * add missing -T flag for toolset * fix string delimietr in workingdirectory name for package build test step * fix gpu pipeline * make io_types test conditional * use cuda 10 instead of cuda 9.1, similar to the ci build * try some workaround on the io test * undo inadvertent local change in build.py, also reenable the io test * make all test run single threaded * blacklist few failing tests for x86 * added some log in build.py * edit build.py to disable parallel test * add the failed tests into the blacklist for win32 * add tf_pasnet_large to blacklist * change control flow for build.py onnx tests * add README, license and TPN to the package * updated build.py test sequence for parallel executor * updated onnx test flow as per review comment * add type checking log in the compare_mlvalue * fix type cast * blacklist some failed test as of now * one more blacklisted test
54 lines
No EOL
2.2 KiB
YAML
54 lines
No EOL
2.2 KiB
YAML
# sets up common build tools for the windows build machines before build
|
|
|
|
parameters:
|
|
EnvSetupScript: ''
|
|
buildArch: amd64
|
|
setVcvars: false
|
|
steps:
|
|
- task: NuGetCommand@2
|
|
displayName: 'NuGet restore'
|
|
inputs:
|
|
restoreSolution: '$(Build.SourcesDirectory)\csharp\OnnxRuntime.CSharp.sln'
|
|
feedsToUse: config
|
|
nugetConfigPath: '$(Build.SourcesDirectory)\csharp\Nuget.CSharp.config'
|
|
restoreDirectory: '$(Build.SourcesDirectory)\csharp'
|
|
- task: UniversalPackages@0
|
|
displayName: 'Download python'
|
|
inputs:
|
|
command: download
|
|
vstsFeed: '$(System.TeamProject)'
|
|
vstsFeedPackage: 'miniconda3_win64'
|
|
vstsPackageVersion: '4.5.11'
|
|
downloadDirectory: '$(Build.BinariesDirectory)\python'
|
|
- task: CmdLine@1
|
|
displayName: 'Run python installer'
|
|
inputs:
|
|
filename: '$(Build.BinariesDirectory)\python\installer.exe'
|
|
arguments: '/S /NoRegistry=1 /AddToPath=0 /RegisterPython=0 /D=$(Build.BinariesDirectory)\packages\python'
|
|
timeoutInMinutes: 10
|
|
- task: BatchScript@1
|
|
displayName: 'setup env'
|
|
inputs:
|
|
filename: '$(Build.SourcesDirectory)\tools\ci_build\github\windows\${{parameters.EnvSetupScript}}'
|
|
modifyEnvironment: true
|
|
workingFolder: '$(Build.BinariesDirectory)'
|
|
- task: CmdLine@1
|
|
displayName: 'Install conda modules'
|
|
inputs:
|
|
filename: '$(Build.BinariesDirectory)\packages\python\scripts\conda.exe'
|
|
arguments: 'install -q --insecure -y pyopenssl setuptools wheel numpy'
|
|
timeoutInMinutes: 10
|
|
|
|
- task: CmdLine@1
|
|
displayName: 'Download cmake'
|
|
inputs:
|
|
filename: '$(Build.BinariesDirectory)\packages\python\python.exe'
|
|
arguments: '$(Build.SourcesDirectory)\tools\ci_build\github\windows\download_cmake.py --build_dir $(Build.BinariesDirectory)'
|
|
|
|
- task: BatchScript@1
|
|
displayName: 'Setup VS2017 env vars'
|
|
inputs:
|
|
filename: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat'
|
|
arguments: '${{parameters.buildArch}} -vcvars_ver=14.11'
|
|
modifyEnvironment: true
|
|
condition: ${{parameters.setVcvars}} |