Update azure-pipelines-samples.yml for Azure Pipelines

This commit is contained in:
Numfor Tiapo 2021-12-01 23:08:19 -05:00
Родитель be5488b262
Коммит 1348cb7ad4
1 изменённых файлов: 55 добавлений и 55 удалений

Просмотреть файл

@ -134,65 +134,65 @@ jobs:
createLogFile: true
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
# - task: VSBuild@1
# displayName: 'Build UI test solution Testing/**/SamplesTest.sln'
# inputs:
# solution: 'Testing/**/SamplesTest.sln'
# vsVersion: "16.0"
# msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\SamplesTest\ /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
# platform: '$(BuildPlatform)'
# configuration: '$(BuildConfiguration)'
# msbuildArchitecture: x64
# createLogFile: true
# condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build UI test solution Testing/**/SamplesTest.sln'
inputs:
solution: 'Testing/**/SamplesTest.sln'
vsVersion: "16.0"
msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\SamplesTest\ /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: succeededOrFailed()
# - task: VSBuild@1
# displayName: 'Build MNIST-Tutorial-cs Sample'
# inputs:
# solution: 'Samples/MNIST/Tutorial/cs/mnist_demo.sln'
# vsVersion: "16.0"
# msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-Tutorial\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
# platform: '$(BuildPlatform)'
# configuration: '$(BuildConfiguration)'
# msbuildArchitecture: x64
# createLogFile: true
# condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build MNIST-Tutorial-cs Sample'
inputs:
solution: 'Samples/MNIST/Tutorial/cs/mnist_demo.sln'
vsVersion: "16.0"
msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-Tutorial\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: succeededOrFailed()
# - task: VSBuild@1
# displayName: 'Build MNIST-UWP-cs Sample'
# inputs:
# solution: 'Samples/MNIST/UWP/cs/mnist_demo.sln'
# vsVersion: "16.0"
# msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-cs\ /p:AppxBundle=Never /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
# platform: '$(BuildPlatform)'
# configuration: '$(BuildConfiguration)_NuGet'
# msbuildArchitecture: x64
# createLogFile: true
# condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build MNIST-UWP-cs Sample'
inputs:
solution: 'Samples/MNIST/UWP/cs/mnist_demo.sln'
vsVersion: "16.0"
msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-cs\ /p:AppxBundle=Never /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)_NuGet'
msbuildArchitecture: x64
createLogFile: true
condition: succeededOrFailed()
# - task: VSBuild@1
# displayName: 'Build FNSCandyStyleTransfer-UWP-CS Sample'
# inputs:
# solution: Samples/FNSCandyStyleTransfer/UWP/CS/snapcandy.sln
# vsVersion: "16.0"
# msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\FNSCandyStyleTransfer\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
# platform: '$(BuildPlatform)'
# configuration: '$(BuildConfiguration)'
# msbuildArchitecture: x64
# createLogFile: true
# condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build FNSCandyStyleTransfer-UWP-CS Sample'
inputs:
solution: Samples/FNSCandyStyleTransfer/UWP/CS/snapcandy.sln
vsVersion: "16.0"
msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\FNSCandyStyleTransfer\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: succeededOrFailed()
# - task: VSBuild@1
# displayName: 'Build MNIST-UWP-cppcx Sample'
# inputs:
# solution: 'Samples/MNIST/UWP/cppcx/mnist_cppcx.sln'
# vsVersion: "16.0"
# msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-cppcx\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
# platform: '$(BuildPlatform)'
# configuration: '$(BuildConfiguration)'
# msbuildArchitecture: x64
# createLogFile: true
# condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build MNIST-UWP-cppcx Sample'
inputs:
solution: 'Samples/MNIST/UWP/cppcx/mnist_cppcx.sln'
vsVersion: "16.0"
msbuildArgs: '-v:diag /p:OutDir=$(System.DefaultWorkingDirectory)\bin\$(BuildPlatform)\$(BuildConfiguration)\MNIST-cppcx\ /p:AppxPackageSigningEnabled=false /p:WindowsTargetPlatformVersion=$(WindowsTargetPlatformVersion) /t:Restore,Clean,Build'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: succeededOrFailed()
- task: CopyFiles@2
inputs: