Skip to content

Commit

Permalink
chore: append SDL scan to main build pipeline (#215598)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Jun 20, 2024
1 parent 34899a7 commit d6ffb9f
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 289 deletions.
12 changes: 12 additions & 0 deletions build/azure-pipelines/product-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,18 @@ extends:
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
VSCODE_BUILD_WIN32_ARM64: ${{ parameters.VSCODE_BUILD_WIN32_ARM64 }}

- stage: CustomSDL
dependsOn: []
pool:
name: 1es-windows-2019-x64
os: windows
jobs:
- job: WindowsSDL
variables:
- group: 'API Scan'
steps:
- template: build/azure-pipelines/sdl-scan.yml@self

- ${{ if and(eq(parameters.VSCODE_COMPILE_ONLY, false), eq(variables['VSCODE_BUILD_STAGE_WINDOWS'], true)) }}:
- stage: Windows
dependsOn:
Expand Down
Loading

0 comments on commit d6ffb9f

Please sign in to comment.