diff --git a/.vsts-pipelines/builds/ci-internal.yml b/.vsts-pipelines/builds/ci-internal.yml new file mode 100644 index 0000000000..c2c5336fd0 --- /dev/null +++ b/.vsts-pipelines/builds/ci-internal.yml @@ -0,0 +1,13 @@ +trigger: +- master +- release/* + +resources: + repositories: + - repository: buildtools + type: git + name: aspnet-BuildTools + ref: refs/heads/master + +phases: +- template: .vsts-pipelines/templates/project-ci.yml@buildtools diff --git a/.vsts-pipelines/builds/ci-public.yml b/.vsts-pipelines/builds/ci-public.yml new file mode 100644 index 0000000000..4b275961fd --- /dev/null +++ b/.vsts-pipelines/builds/ci-public.yml @@ -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/master + +# 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"