File tree Expand file tree Collapse file tree 6 files changed +24
-0
lines changed
Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ extends:
4040 compiled :
4141 enabled : true
4242 tsaEnabled : true
43+ isNativeCode :
44+ enabled : true
45+ prefast :
46+ enabled : true
4347
4448 stages :
4549 - stage : build
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ extends:
3636 enabled : false
3737 sbom :
3838 enabled : true
39+ isNativeCode :
40+ enabled : true
41+ prefast :
42+ enabled : true
3943
4044 stages :
4145 - stage : build
Original file line number Diff line number Diff line change 3131 ${{ if eq(parameters.OfficialBuild, 'false') }} :
3232 ob_sdl_codeSignValidation_excludes : ' -|**\*.exe;-|**\*.dll'
3333
34+ ob_sdl_prefast_enabled : true
35+ ob_sdl_prefast_runDuring : ' Build'
36+ ob_sdl_checkCompliantCompilerWarnings : true
37+
3438 ob_symbolsPublishing_enabled : ${{ parameters.OfficialBuild }}
3539 ob_symbolsPublishing_symbolsFolder : ' $(ob_outputDirectory)'
3640 ob_symbolsPublishing_searchPattern : ' **\*.pdb'
Original file line number Diff line number Diff line change 1717 ob_outputDirectory : ' $(Build.SourcesDirectory)\out'
1818 PackageVersion : ${{ parameters.BuildVersion }}
1919
20+ ob_sdl_prefast_enabled : true
21+ ob_sdl_prefast_runDuring : ' Build'
22+ ob_sdl_checkCompliantCompilerWarnings : true
23+
2024 steps :
2125 - task : UseDotNet@2
2226 continueOnError : true
Original file line number Diff line number Diff line change 5151 ob_artifactSuffix : $(TestExe).$(BuildPlatform)
5252 ob_sdl_codeSignValidation_excludes : ' -|**\*.exe;-|**\*.dll'
5353
54+ ob_sdl_prefast_enabled : true
55+ ob_sdl_prefast_runDuring : ' Build'
56+ ob_sdl_checkCompliantCompilerWarnings : true
57+
5458 BuildPath : ' $(Build.SourcesDirectory)/_build/$(BuildPlatform)/${{ parameters.BuildConfiguration }}'
5559
5660 steps :
Original file line number Diff line number Diff line change 3636 ob_symbolsPublishing_symbolsFolder : ' $(ob_outputDirectory)'
3737 ob_symbolsPublishing_searchPattern : ' **\*.pdb'
3838 ob_symbolsPublishing_indexSources : true
39+
40+ ob_sdl_prefast_enabled : true
41+ ob_sdl_prefast_runDuring : ' Build'
42+ ob_sdl_checkCompliantCompilerWarnings : true
3943
4044 steps :
4145 - task : UseDotNet@2
You can’t perform that action at this time.
0 commit comments