infer/build/pr-netcore.yml

29 строки
716 B
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 and test Infer.NET using .NET Core
resources:
- repo: self
clean: true
trigger: none # disable CI build
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
inputs:
packageType: 'sdk'
version: '2.1.403'
- script: |
dotnet build /p:DisableImplicitNuGetFallbackFolder=true --configuration $(buildConfiguration)Core Infer.sln
displayName: Build Solution
- template: netcoretest-fast.yml
parameters:
Configuration: '$(buildConfiguration)Core'