-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry picking PR that fixes official build. (#6468)
Merging since it has already been validated in the official build and is already in main.
- Loading branch information
1 parent
341089f
commit afb4b8b
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -100,7 +100,7 @@ stages: | |
pool: | ||
vmImage: macOS-12 | ||
steps: | ||
- script: brew update && brew unlink [email protected] && brew unlink libomp && brew install $(Build.SourcesDirectory)/build/libomp.rb --build-from-source --formula | ||
- 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 | ||
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 | ||
|
@@ -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 | ||
|
@@ -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. | ||
|
@@ -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 | ||
|