@@ -98,66 +98,33 @@ stages:
98
98
artifactName : ' drop-windows'
99
99
publishLocation : ' Container'
100
100
parallel : true
101
- - job : OSX_latest_x64
102
- displayName : ' Mac OS (x64) '
101
+ - job : OSX_latest
102
+ displayName : ' Mac OS'
103
103
pool :
104
104
vmImage : ' macOS-latest'
105
105
strategy :
106
106
matrix :
107
107
${{ if in(variables['Build.Reason'], 'PullRequest') }} :
108
- Debug :
108
+ Debug_arm64 :
109
109
_BuildConfig : Debug
110
110
_SignType : none
111
111
_DotNetPublishToBlobFeed : false
112
- Release :
113
- _BuildConfig : Release
114
- _SignType : none
115
- _DotNetPublishToBlobFeed : false
116
- variables :
117
- - name : _RID
118
- value : osx-x64
119
- steps :
120
- - checkout : self
121
- clean : true
122
- - script : eng/common/cibuild.sh
123
- --configuration $(_BuildConfig)
124
- --prepareMachine
125
- /p:RID=$(_RID)
126
- displayName : Build
127
- - task : ArchiveFiles@2
128
- condition : and(eq(variables['system.pullrequest.isfork'], false), eq(variables['_BuildConfig'], 'Release'))
129
- inputs :
130
- rootFolderOrFile : ' artifacts/layout/dotnet-core-uninstall/'
131
- includeRootFolder : false
132
- archiveType : ' tar'
133
- tarCompression : ' gz'
134
- archiveFile : ' $(Build.ArtifactStagingDirectory)/dotnet-core-uninstall.tar.gz'
135
- replaceExistingArchive : true
136
- - task : PublishBuildArtifacts@1
137
- condition : and(eq(variables['system.pullrequest.isfork'], false), eq(variables['_BuildConfig'], 'Release'))
138
- inputs :
139
- pathtoPublish : ' $(Build.ArtifactStagingDirectory)'
140
- artifactName : ' drop-osx'
141
- publishLocation : ' Container'
142
- parallel : true
143
- - job : OSX_latest_arm64
144
- displayName : ' Mac OS (arm64)'
145
- pool :
146
- vmImage : ' macOS-latest'
147
- strategy :
148
- matrix :
149
- ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
150
- Debug :
112
+ _RID : osx-arm64
113
+ Debug_x64 :
151
114
_BuildConfig : Debug
152
115
_SignType : none
153
116
_DotNetPublishToBlobFeed : false
154
- Release :
117
+ _RID : osx-x64
118
+ Release_arm64 :
155
119
_BuildConfig : Release
156
120
_SignType : none
157
121
_DotNetPublishToBlobFeed : false
158
- variables :
159
- - name : _RID
160
- value : osx-arm64
122
+ _RID : osx-arm64
123
+ Release_x64 :
124
+ _BuildConfig : Release
125
+ _SignType : none
126
+ _DotNetPublishToBlobFeed : false
127
+ _RID : osx-x64
161
128
steps :
162
129
- checkout : self
163
130
clean : true
@@ -179,7 +146,7 @@ stages:
179
146
condition : and(eq(variables['system.pullrequest.isfork'], false), eq(variables['_BuildConfig'], 'Release'))
180
147
inputs :
181
148
pathtoPublish : ' $(Build.ArtifactStagingDirectory)'
182
- artifactName : ' drop-osx '
149
+ artifactName : ' drop-$(_RID) '
183
150
publishLocation : ' Container'
184
151
parallel : true
185
152
0 commit comments