mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-28 22:56:32 +00:00
Jignparm/copy cuda extensions (#1462)
* Add CUDA extensions for v 10.0 * Add CUDA extensions for v 10.0 * update path * change 'vsts' to 'github'
This commit is contained in:
parent
818c023535
commit
b41f6eef52
1 changed files with 17 additions and 0 deletions
|
|
@ -32,6 +32,14 @@ jobs:
|
|||
buildArch: ${{ parameters.BuildArch }}
|
||||
setVcvars: ${{ parameters.SetVcvars }}
|
||||
|
||||
# Copy CUDA props files if needed
|
||||
- ${{ if eq(parameters['CudaVersion'], '10.0') }}:
|
||||
- task: PowerShell@1
|
||||
displayName: 'Set CUDA path'
|
||||
inputs:
|
||||
scriptName: 'tools/ci_build/github/windows/set_cuda_path.ps1'
|
||||
arguments: '-CudaMsbuildPath C:\local\cudaMsbuildIntegration-10.0.130-win10 -CudaVersion ${{ parameters.CudaVersion }}'
|
||||
|
||||
- task: CmdLine@1
|
||||
displayName: 'Download test data and generate cmake config'
|
||||
inputs:
|
||||
|
|
@ -165,6 +173,15 @@ jobs:
|
|||
artifactName: ${{ parameters.ArtifactName }}
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||
|
||||
# Remove CUDA props files after build
|
||||
- ${{ if eq(parameters['CudaVersion'], '10.0') }}:
|
||||
- task: PowerShell@1
|
||||
displayName: 'Clean up CUDA props files'
|
||||
inputs:
|
||||
scriptName: 'tools/ci_build/github/windows/clean_up_cuda_prop_files.ps1'
|
||||
arguments: '-CudaVersion ${{ parameters.CudaVersion }}'
|
||||
|
||||
|
||||
# Compliance tasks require logs from Debug Build
|
||||
- ${{ if eq(parameters['DoCompliance'], 'true') }}:
|
||||
- template: compliance.yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue