59 строки
1.6 KiB
YAML
59 строки
1.6 KiB
YAML
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- master
|
|
|
|
pr:
|
|
- master
|
|
|
|
variables:
|
|
- name: _DotNetArtifactsCategory
|
|
value: EXPERIMENTAL
|
|
- name: _TeamName
|
|
value: DotNetCore
|
|
|
|
stages:
|
|
- stage: build
|
|
displayName: build
|
|
jobs:
|
|
- template: corefxlab-base.yml
|
|
parameters:
|
|
name: Windows_NT
|
|
displayName: Innerloop Windows_NT
|
|
targetOS: Windows_NT
|
|
|
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
isOfficialBuild: true
|
|
pool:
|
|
name: NetCoreInternal-Pool
|
|
queue: buildpool.windows.10.amd64.vs2017
|
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
|
pool:
|
|
name: Hosted VS2017
|
|
|
|
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
|
- template: corefxlab-base.yml
|
|
parameters:
|
|
name: MacOS
|
|
displayName: Innerloop OSX
|
|
targetOS: OSX
|
|
pool:
|
|
name: Hosted macOS
|
|
|
|
- template: corefxlab-base.yml
|
|
parameters:
|
|
name: Ubuntu1604
|
|
displayName: Innerloop Ubuntu16.04
|
|
targetOS: Ubuntu
|
|
pool:
|
|
name: Hosted Ubuntu 1604
|
|
|
|
# Publish and validation steps. Only run in official builds
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
- template: \eng\common\templates\post-build\post-build.yml
|
|
parameters:
|
|
validateDependsOn:
|
|
- build
|
|
enableSymbolValidation: false # https://github.com/dotnet/arcade/issues/2871
|