Skip to content

Commit afb4b8b

Browse files
Cherry picking PR that fixes official build. (#6468)
Merging since it has already been validated in the official build and is already in main.
1 parent 341089f commit afb4b8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build/vsts-ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variables:
2222
DOTNET_MULTILEVEL_LOOKUP: 0
2323
Codeql.Enabled: true
2424
Codeql.SkipTaskAutoInjection: True #default to not inject CodeQL tasks, we'll enable it in a single job.
25-
25+
2626
stages:
2727
- stage: build
2828
displayName: Build
@@ -100,7 +100,7 @@ stages:
100100
pool:
101101
vmImage: macOS-12
102102
steps:
103-
- script: brew update && brew unlink [email protected] && brew unlink libomp && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula
103+
- script: brew update && brew unlink [email protected] && rm '/usr/local/bin/2to3-3.11' && brew unlink libomp && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula
104104
displayName: Install build dependencies
105105
# Only build native assets to avoid conflicts.
106106
- script: ./build.sh -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x64 /p:CopyPackageAssets=true
@@ -148,7 +148,7 @@ stages:
148148
_TeamName: DotNetCore
149149
pool:
150150
name: NetCore1ESPool-Internal
151-
demands: ImageOverride -equals Build.Server.Amd64.VS2019
151+
demands: ImageOverride -equals windows.vs2019.amd64
152152
steps:
153153
# Only build native assets to avoid conflicts.
154154
- script: ./build.cmd -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x86 /p:CopyPackageAssets=true
@@ -175,7 +175,7 @@ stages:
175175
_TeamName: DotNetCore
176176
pool:
177177
name: NetCore1ESPool-Internal
178-
demands: ImageOverride -equals Build.Server.Amd64.VS2019
178+
demands: ImageOverride -equals windows.vs2019.amd64
179179
steps:
180180

181181
# Build both native and managed assets.
@@ -227,15 +227,15 @@ stages:
227227
- NUGET_PACKAGES: $(Build.SourcesDirectory)/.packages
228228
- _SignType: real
229229
- _TeamName: DotNetCore
230-
- _InternalBuildArgs: /p:DotNetSignType=$(_SignType)
230+
- _InternalBuildArgs: /p:DotNetSignType=$(_SignType)
231231
/p:TeamName=$(_TeamName)
232232
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
233233
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
234234
/p:OfficialBuildId=$(OfficialBuildId)
235235
/p:DotNetPublishUsingPipelines=$true
236236
pool:
237237
name: NetCore1ESPool-Internal
238-
demands: ImageOverride -equals Build.Server.Amd64.VS2019
238+
demands: ImageOverride -equals windows.vs2019.amd64
239239
steps:
240240

241241
# Download all agent packages from all previous phases

0 commit comments

Comments
 (0)