Add azure-pipelines CI build for samples

This commit is contained in:
Kumar Rajeev 2018-10-14 22:32:34 -07:00 коммит произвёл GitHub
Родитель 0f49602199
Коммит 69197bff90
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 89 добавлений и 0 удалений

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

@ -0,0 +1,89 @@
resources:
- repo: self
queue:
name: Package ES CodeHub Lab E
demands:
- Agent.Name -equals PKGESCHLABE029
- msbuild
- visualstudio
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildPlatform variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
#Your build pipeline references the BuildConfiguration variable, which youve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
steps:
- task: VSBuild@1
displayName: 'Build FNSCandyStyleTransfer-UWP-CS'
inputs:
solution: Samples/FNSCandyStyleTransfer/UWP/CS/snapcandy.sln
vsVersion: 15.0
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
- task: VSBuild@1
displayName: 'Build MNIST-UWP-cppcx '
inputs:
solution: 'Samples/MNIST/UWP/cppcx/mnist_cppcx.sln'
vsVersion: 15.0
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build MNIST-UWP-cs'
inputs:
solution: 'Samples/MNIST/UWP/cs/mnist_demo.sln'
vsVersion: 15.0
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build MNIST-Tutorial-cs'
inputs:
solution: 'Samples/MNIST/Tutorial/cs/mnist_demo.sln'
vsVersion: 15.0
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
condition: succeededOrFailed()
- task: VSBuild@1
displayName: 'Build SqueezenetObjectDetection'
inputs:
solution: Samples/SqueezeNetObjectDetection/squeezenetobjectdetection.sln
vsVersion: 15.0
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
condition: succeededOrFailed()
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: Samples'
inputs:
PathtoPublish: '/Samples/release/$(BuildPlatform)/$(BuildConfiguration)'
ArtifactName: Samples
enabled: false