@@ -89,31 +89,34 @@ jobs:
89
89
Artifacts : ${{ parameters.Artifacts }}
90
90
91
91
- ${{ if eq(parameters['AdvancedBuild'], true) }} :
92
- - job : ' Build '
92
+ - job : ' Build_Linux '
93
93
timeoutInMinutes : 90
94
94
95
- strategy :
96
- matrix :
97
- Linux :
98
- imageName : azsdk-pool-mms-ubuntu-2004-1espt
99
- poolname : azsdk-pool-mms-ubuntu-2004-general
100
- ArtifactName : linux
101
- os : linux
102
- Windows :
103
- imageName : azsdk-pool-mms-win-2022-1espt
104
- poolName : azsdk-pool-mms-win-2022-1es-pt
105
- ArtifactName : windows
106
- os : windows
107
- Mac :
108
- imageName : macos-11
109
- poolName : ' Azure Pipelines'
110
- ArtifactName : mac
111
- os : macos
95
+ pool :
96
+ name : azsdk-pool-mms-ubuntu-2004-general
97
+ image : azsdk-pool-mms-ubuntu-2004-1espt
98
+ os : linux
99
+
100
+ steps :
101
+ - template : /eng/pipelines/templates/steps/targeting-string-resolve.yml@self
102
+ parameters :
103
+ BuildTargetingString : ${{ parameters.BuildTargetingString }}
104
+
105
+ - template : ../steps/build-package-artifacts.yml@self
106
+ parameters :
107
+ ServiceDirectory : ${{ parameters.ServiceDirectory }}
108
+ BeforePublishSteps : ${{ parameters.BeforePublishSteps }}
109
+ TestPipeline : ${{ parameters.TestPipeline }}
110
+ Artifacts : ${{ parameters.Artifacts }}
111
+ ArtifactSuffix : linux
112
+
113
+ - job : ' Build_Windows'
114
+ timeoutInMinutes : 90
112
115
113
116
pool :
114
- name : $(poolName)
115
- vmImage : $(imageName)
116
- os : $(os)
117
+ name : azsdk-pool-mms-win-2022-1espt
118
+ image : azsdk-pool-mms-win-2022-1es-pt
119
+ os : windows
117
120
118
121
steps :
119
122
- template : /eng/pipelines/templates/steps/targeting-string-resolve.yml@self
@@ -126,17 +129,41 @@ jobs:
126
129
BeforePublishSteps : ${{ parameters.BeforePublishSteps }}
127
130
TestPipeline : ${{ parameters.TestPipeline }}
128
131
Artifacts : ${{ parameters.Artifacts }}
129
- ArtifactSuffix : $(ArtifactName)
132
+ ArtifactSuffix : windows
133
+
134
+ - job : ' Build_MacOS'
135
+ timeoutInMinutes : 90
136
+
137
+ pool :
138
+ name : ' Azure Pipelines'
139
+ vmImage : macos-11
140
+ os : macOS
141
+
142
+ steps :
143
+ - template : /eng/pipelines/templates/steps/targeting-string-resolve.yml@self
144
+ parameters :
145
+ BuildTargetingString : ${{ parameters.BuildTargetingString }}
146
+
147
+ - template : ../steps/build-package-artifacts.yml@self
148
+ parameters :
149
+ ServiceDirectory : ${{ parameters.ServiceDirectory }}
150
+ BeforePublishSteps : ${{ parameters.BeforePublishSteps }}
151
+ TestPipeline : ${{ parameters.TestPipeline }}
152
+ Artifacts : ${{ parameters.Artifacts }}
153
+ ArtifactSuffix : macos
130
154
131
155
- job : ' CoalesceBuildArtifacts'
132
156
displayName : Combine Built Artifacts
133
157
dependsOn :
134
- - ' Build'
158
+ - ' Build_Linux'
159
+ - ' Build_Windows'
160
+ - ' Build_MacOS'
135
161
timeoutInMinutes : 90
136
162
137
163
pool :
138
164
name : azsdk-pool-mms-ubuntu-2004-general
139
- vmImage : MMSUbuntu20.04
165
+ image : azsdk-pool-mms-ubuntu-2004-1espt
166
+ os : linux
140
167
141
168
steps :
142
169
- task : DownloadPipelineArtifact@2
@@ -162,9 +189,11 @@ jobs:
162
189
- job : ' Build_Extended'
163
190
displayName : Build Extended
164
191
dependsOn :
165
- - ' Build'
192
+ - ${{ if ne(parameters['AdvancedBuild'], true) }} :
193
+ - ' Build'
166
194
- ${{ if eq(parameters['AdvancedBuild'], true) }} :
167
195
- ' CoalesceBuildArtifacts'
196
+
168
197
timeoutInMinutes : 90
169
198
170
199
pool :
0 commit comments