11trigger :
2- batch : true
32 branches :
43 include :
54 - master
65 - release/3.*
76 paths :
7+ include :
8+ - ' *'
9+ - docs/installer/manpages/*
10+ - Documentation/manpages/*
811 exclude :
912 - Documentation/*
13+ - src/coreclr/*
14+ - src/libraries/*
15+ - eng/pipelines/coreclr/*
16+ - eng/pipelines/libraries/*
17+ - docs/*
1018 - README.md
1119 - CONTRIBUTING.md
1220 - LICENSE.TXT
1826 - master
1927 - release/3.*
2028 paths :
29+ include :
30+ - ' *'
31+ - docs/installer/manpages/*
32+ - Documentation/manpages/*
2133 exclude :
2234 - Documentation/*
35+ - src/coreclr/*
36+ - src/libraries/*
37+ - eng/pipelines/coreclr/*
38+ - eng/pipelines/libraries/*
39+ - docs/*
2340 - README.md
2441 - CONTRIBUTING.md
2542 - LICENSE.TXT
@@ -53,11 +70,22 @@ variables:
5370 - name : SignType
5471 value : $[ coalesce(variables.OfficialSignType, 'real') ]
5572
73+ - ${{ if contains(variables['Build.DefinitionName'], 'runtime') }} :
74+ - name : pipelinesPath
75+ value : /eng/pipelines/installer
76+ - name : buildScriptFileName
77+ value : installer
78+ - ${{ if not(contains(variables['Build.DefinitionName'], 'runtime')) }} :
79+ - name : pipelinesPath
80+ value : /eng/pipelines
81+ - name : buildScriptFileName
82+ value : build
83+
5684stages :
5785- stage : Build
5886 jobs :
5987 # -------- Build Bash legs (Linux and FreeBSD) --------
60- - template : /eng/pipelines /jobs/bash-build.yml
88+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
6189 parameters :
6290 crossBuild : true
6391 name : Linux_Arm
@@ -67,7 +95,7 @@ stages:
6795 skipTests : true
6896 targetArchitecture : arm
6997
70- - template : /eng/pipelines /jobs/bash-build.yml
98+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
7199 parameters :
72100 crossBuild : true
73101 name : Linux_Arm64
@@ -79,7 +107,7 @@ stages:
79107
80108 # # Tizen build only for PR build
81109 # - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
82- # - template: /eng/pipelines /jobs/bash-build.yml
110+ # - template: ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
83111 # parameters:
84112 # additionalMSBuildArgs: /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json /p:OutputRid=tizen.5.0.0-armel
85113 # additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/armel.tizen.build
@@ -91,7 +119,7 @@ stages:
91119 # skipTests: true
92120 # targetArchitecture: armel
93121
94- - template : /eng/pipelines /jobs/bash-build.yml
122+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
95123 parameters :
96124 additionalMSBuildArgs : /p:OutputRid=linux-musl-arm64
97125 crossBuild : true
@@ -102,15 +130,15 @@ stages:
102130 skipTests : true
103131 targetArchitecture : arm64
104132
105- - template : /eng/pipelines /jobs/bash-build.yml
133+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
106134 parameters :
107135 additionalMSBuildArgs : /p:OutputRid=linux-musl-x64
108136 name : Linux_x64_Alpine39
109137 dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-WithNode-0fc54a3-20190918214015
110138 portableBuild : false
111139 targetArchitecture : x64
112140
113- - template : /eng/pipelines /jobs/bash-build.yml
141+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
114142 parameters :
115143 name : Linux_x64_glibc
116144 dockerImage : mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-50f0d02-20190918214028
@@ -129,7 +157,7 @@ stages:
129157 portableBuild : true
130158 targetArchitecture : x64
131159
132- - template : /eng/pipelines /jobs/bash-build.yml
160+ - template : ${{ variables['pipelinesPath'] }} /jobs/bash-build.yml
133161 parameters :
134162 additionalMSBuildArgs : /p:OutputRid=rhel.6-x64
135163 name : Linux_x64_Rhel6
@@ -138,34 +166,34 @@ stages:
138166 targetArchitecture : x64
139167
140168 # -------- Build OSX (macOS) leg --------
141- - template : /eng/pipelines /jobs/osx-build.yml
169+ - template : ${{ variables['pipelinesPath'] }} /jobs/osx-build.yml
142170 parameters :
143171 name : OSX
144172
145173 # -------- Build Windows legs --------
146174 # Windows Arm
147- - template : /eng/pipelines /jobs/windows-build.yml
175+ - template : ${{ variables['pipelinesPath'] }} /jobs/windows-build.yml
148176 parameters :
149177 name : Windows_Arm
150178 skipTests : true
151179 targetArchitecture : arm
152180
153181 # Windows Arm64
154- - template : /eng/pipelines /jobs/windows-build.yml
182+ - template : ${{ variables['pipelinesPath'] }} /jobs/windows-build.yml
155183 parameters :
156184 name : Windows_Arm64
157185 skipTests : true
158186 targetArchitecture : arm64
159187
160188 # Windows x64
161- - template : /eng/pipelines /jobs/windows-build.yml
189+ - template : ${{ variables['pipelinesPath'] }} /jobs/windows-build.yml
162190 parameters :
163191 name : Windows_x64
164192 publishRidAgnosticPackages : true
165193 targetArchitecture : x64
166194
167195 # Windows x86
168- - template : /eng/pipelines /jobs/windows-build.yml
196+ - template : ${{ variables['pipelinesPath'] }} /jobs/windows-build.yml
169197 parameters :
170198 name : Windows_x86
171199 targetArchitecture : x86
@@ -176,7 +204,7 @@ stages:
176204 dependsOn : Build
177205 jobs :
178206 # Prep artifacts: sign them and upload pipeline artifacts expected by stages-based publishing.
179- - template : /eng/pipelines /jobs/prepare-signed-artifacts.yml
207+ - template : ${{ variables['pipelinesPath'] }} /jobs/prepare-signed-artifacts.yml
180208 parameters :
181209 PublishRidAgnosticPackagesFromJobName : Windows_x64
182210 # Publish to Build Asset Registry in order to generate the ReleaseConfigs artifact.
@@ -188,7 +216,7 @@ stages:
188216 name : NetCoreInternal-Pool
189217 queue : buildpool.windows.10.amd64.vs2017
190218
191- - template : /eng/pipelines /stages/publish.yml
219+ - template : ${{ variables['pipelinesPath'] }} /stages/publish.yml
192220 parameters :
193221 # Publish channel configuration. The publish template wraps Arcade publishing and adds some
194222 # extras that aren't implemented in Arcade yet.
0 commit comments