infer/build/pr-msbuild.yml

59 строки
1.2 KiB
YAML

# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.
# PR build for Infer.NET using MSBuild
resources:
- repo: self
clean: true
trigger: none # disable CI build
jobs:
- job: Win64 # Hosted Windows agent, VS 2017, testing on x64
pool:
vmImage: vs2017-win2016
steps:
- task: NuGetToolInstaller@0
inputs:
versionSpec: '4.7.0'
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: '**/*.sln'
- task: MSBuild@1
inputs:
solution: '**/*.sln'
clean: true
configuration: 'Release'
- template: vstest-fast.yml
parameters:
Platform: 'x64'
- job: Win32 # Hosted Windows agent, VS 2017, testing on x86
pool:
vmImage: vs2017-win2016
steps:
- task: NuGetToolInstaller@0
inputs:
versionSpec: '4.7.0'
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: '**/*.sln'
- task: MSBuild@1
inputs:
solution: '**/*.sln'
clean: true
configuration: 'Release'
- template: vstest-fast.yml
parameters:
Platform: 'x86'