forked from dotnet/corefxlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
45 lines (39 loc) · 1.2 KB
/
.azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This will assign the build version on this format.
# The package version we produce depend on this number.
name: $(Date:eyyMMdd)$(Rev:-r)
trigger:
batch: true
branches:
include:
- master
pr:
- master
jobs:
- template: /pipelines/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: /pipelines/corefxlab-base.yml
parameters:
name: MacOS
displayName: Innerloop OSX
targetOS: OSX
pool:
name: Hosted macOS
- template: /pipelines/corefxlab-base.yml
parameters:
name: Ubuntu1604
displayName: Innerloop Ubuntu16.04
targetOS: Ubuntu
pool:
name: Hosted Ubuntu 1604