Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .vsts-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ parameters:
displayName: Require Default Channels
type: boolean
default: true
- name: enableSigningValidation
displayName: Enable Signing Validation
type: boolean
default: true

variables:
# if OptProfDrop is not set, string '$(OptProfDrop)' will be passed to the build script.
Expand All @@ -45,9 +49,8 @@ variables:
- ${{ if eq(parameters.EnableOptProf, false) }}:
- name: SkipApplyOptimizationData
value: true
- ${{ if and(not(startsWith(variables['Build.SourceBranch'], 'refs/heads/exp/')), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/perf/'))) }}:
- name: requireDefaultChannels
value: ${{ parameters.requireDefaultChannelsEnabled }}
- name: requireDefaultChannels
value: ${{ parameters.requireDefaultChannelsEnabled }}
- name: EnableReleaseOneLocBuild
value: true # Enable loc for vs17.14
- name: Codeql.Enabled
Expand Down Expand Up @@ -127,4 +130,12 @@ extends:
parameters:
isExperimental: false
enableComponentGovernance: true
enableSigningValidation: true

- template: /eng/common/templates-official/post-build/post-build.yml@self
parameters:
publishingInfraVersion: 3
enableSymbolValidation: true
enableSourceLinkValidation: false
enableNugetValidation: false
requireDefaultChannels: ${{ parameters.requireDefaultChannelsEnabled }}
enableSigningValidation: ${{ parameters.enableSigningValidation }}
14 changes: 1 addition & 13 deletions azure-pipelines/.vsts-dotnet-build-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ parameters:
- name: enableComponentGovernance
type: boolean
default: false
- name: enableSigningValidation
type: boolean
default: false

jobs:
- job: Windows_NT
Expand Down Expand Up @@ -53,7 +50,7 @@ jobs:
restoreSolution: 'eng\common\internal\Tools.csproj'
nugetConfigPath: 'eng\common\internal\NuGet.config'
restoreDirectory: '$(Build.SourcesDirectory)\.packages'

- task: MicroBuildSigningPlugin@4
displayName: Install MicroBuild plugin
inputs:
Expand Down Expand Up @@ -234,12 +231,3 @@ jobs:
name: $(DncEngInternalBuildPool)
image: $(WindowsImage)
os: windows

- template: /eng/common/templates-official/post-build/post-build.yml@self
parameters:
publishingInfraVersion: 3
enableSymbolValidation: true
enableSourceLinkValidation: false
enableNugetValidation: false
requireDefaultChannels: ${{ variables.requireDefaultChannels }}
enableSigningValidation: ${{ variables.enableSigningValidation }}
14 changes: 13 additions & 1 deletion azure-pipelines/.vsts-dotnet-exp-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ parameters:
displayName: Require Default Channels
type: boolean
default: true
- name: enableSigningValidation
displayName: Enable Signing Validation
type: boolean
default: false

variables:
# if OptProfDrop is not set, string '$(OptProfDrop)' will be passed to the build script.
Expand Down Expand Up @@ -85,4 +89,12 @@ extends:
parameters:
isExperimental: true
enableComponentGovernance: false
enableSigningValidation: false

- template: /eng/common/templates-official/post-build/post-build.yml@self
parameters:
publishingInfraVersion: 3
enableSymbolValidation: true
enableSourceLinkValidation: false
enableNugetValidation: false
requireDefaultChannels: ${{ parameters.requireDefaultChannelsEnabled }}
enableSigningValidation: ${{ parameters.enableSigningValidation }}
Loading