Skip to content

Commit

Permalink
Cherry picking PR that fixes official build. (#6468)
Browse files Browse the repository at this point in the history
Merging since it has already been validated in the official build and is already in main.
  • Loading branch information
michaelgsharp committed Nov 23, 2022
1 parent 341089f commit afb4b8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ variables:
DOTNET_MULTILEVEL_LOOKUP: 0
Codeql.Enabled: true
Codeql.SkipTaskAutoInjection: True #default to not inject CodeQL tasks, we'll enable it in a single job.

stages:
- stage: build
displayName: Build
Expand Down Expand Up @@ -100,7 +100,7 @@ stages:
pool:
vmImage: macOS-12
steps:
- script: brew update && brew unlink python@3.8 && brew unlink libomp && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula
- script: brew update && brew unlink python@3.8 && rm '/usr/local/bin/2to3-3.11' && brew unlink libomp && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula
displayName: Install build dependencies
# Only build native assets to avoid conflicts.
- script: ./build.sh -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x64 /p:CopyPackageAssets=true
Expand Down Expand Up @@ -148,7 +148,7 @@ stages:
_TeamName: DotNetCore
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Server.Amd64.VS2019
demands: ImageOverride -equals windows.vs2019.amd64
steps:
# Only build native assets to avoid conflicts.
- script: ./build.cmd -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x86 /p:CopyPackageAssets=true
Expand All @@ -175,7 +175,7 @@ stages:
_TeamName: DotNetCore
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Server.Amd64.VS2019
demands: ImageOverride -equals windows.vs2019.amd64
steps:

# Build both native and managed assets.
Expand Down Expand Up @@ -227,15 +227,15 @@ stages:
- NUGET_PACKAGES: $(Build.SourcesDirectory)/.packages
- _SignType: real
- _TeamName: DotNetCore
- _InternalBuildArgs: /p:DotNetSignType=$(_SignType)
- _InternalBuildArgs: /p:DotNetSignType=$(_SignType)
/p:TeamName=$(_TeamName)
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
/p:OfficialBuildId=$(OfficialBuildId)
/p:DotNetPublishUsingPipelines=$true
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Server.Amd64.VS2019
demands: ImageOverride -equals windows.vs2019.amd64
steps:

# Download all agent packages from all previous phases
Expand Down

0 comments on commit afb4b8b

Please sign in to comment.