-
Notifications
You must be signed in to change notification settings - Fork 1k
/
template-engine.yml
62 lines (60 loc) · 2.49 KB
/
template-engine.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
jobs:
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/build.yml
parameters:
agentOs: Windows_NT_TemplateEngine
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022preview.amd64.open
${{ if ne(variables['System.TeamProject'], 'public') }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals windows.vs2022preview.amd64
${{ if eq(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: Windows.Amd64.VS2022.Pre.Open
${{ if ne(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: Windows.Amd64.VS2022.Pre
strategy:
matrix:
Build_Release:
_BuildConfig: Release
_PublishArgs: '-publish /p:DotNetPublishUsingPipelines=true'
_SignType: test
_Test: -test
- template: /eng/build.yml
parameters:
agentOs: Ubuntu_20_04_TemplateEngine
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals 1es-ubuntu-2004-open
${{ if ne(variables['System.TeamProject'], 'public') }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals 1es-ubuntu-2004
${{ if eq(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: 'ubuntu.2004.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-helix-amd64'
${{ if ne(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: Ubuntu.2004.Amd64
strategy:
matrix:
Build_Release:
_BuildConfig: Release
_PublishArgs: ''
_SignType: test
_Test: -test
- template: /eng/build.yml
parameters:
agentOs: Darwin_TemplateEngine
pool:
vmImage: 'macOS-latest'
${{ if eq(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: OSX.1100.Amd64.Open
${{ if ne(variables['System.TeamProject'], 'public') }}:
helixTargetQueue: OSX.1100.Amd64
strategy:
matrix:
Build_Release:
_BuildConfig: Release
_PublishArgs: ''
_SignType: test
_Test: -test