Adding VSTS configuration (#2395)

This commit is contained in:
Ryan Brandenburg 2018-07-26 17:10:56 -07:00 committed by Nate McMaster
parent 8e23eb38b4
commit afc671724f
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,13 @@
trigger:
- master
- release/*
resources:
repositories:
- repository: buildtools
type: git
name: aspnet-BuildTools
ref: refs/heads/release/2.2
phases:
- template: .vsts-pipelines/templates/project-ci.yml@buildtools

View File

@ -0,0 +1,33 @@
trigger:
- master
- release/*
# See https://github.com/aspnet/BuildTools
resources:
repositories:
- repository: buildtools
type: github
endpoint: DotNet-Bot GitHub Connection
name: aspnet/BuildTools
ref: refs/heads/release/2.2
# Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28.
# When this is fixed, we can simplify the build to just this
#
# phases:
# - template: .vsts-pipelines/templates/project-ci.yml@buildtools
#
phases:
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: macOS
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Windows
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Linux
# Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28
# VSTS hangs indefinitely when running Razor tests.
buildArgs: "-p:SkipTests=true"