prefast and LKG compiler (#2301)

This commit is contained in:
Tian L. 2025-02-19 14:58:05 +08:00 committed by GitHub
parent 0d9bf6a909
commit 71454cee1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,8 @@ jobs:
sdl:
binskim:
analyzeTargetGlob: +:f|$(Agent.BuildDirectory)\binskim\**\*
prefast:
enable: true
outputs:
- output: pipelineArtifact
@ -43,6 +45,14 @@ jobs:
- checkout: self
fetchDepth: 1
- task: WinUndockNativeCompiler@1
displayName: Use LKG native compiler
inputs:
compilerPackageName: 'DevDiv.rel.LKG18.VCTools'
compilerPackageVersion: '19.42.3443710001+DevDivGIT.CI20250110.04-466784EE54DF2F302AD0CD6790031C954EF41DA23DA4415D73A76ADF260F2D21'
slnDirectory: $(Build.SourcesDirectory)\src
runPrefastDuring: Build
- ${{ if eq(parameters.isOSSBuild, true) }}:
- task: nuget-security-analysis@0
displayName: Secure Supply Chain Analysis