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:
jignparm 2019-07-22 23:27:48 -07:00 committed by Pranav Sharma
parent 818c023535
commit b41f6eef52

View file

@ -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