From b41f6eef5221265d544aa195ad34ef30ea98fb52 Mon Sep 17 00:00:00 2001 From: jignparm Date: Mon, 22 Jul 2019 23:27:48 -0700 Subject: [PATCH] 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' --- .../github/azure-pipelines/templates/win-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml index e00c60d7d4..8ce6984dc5 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml @@ -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