-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy path.vsts-ci.yml
61 lines (55 loc) · 1.65 KB
/
.vsts-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright (C) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE.txt in the project root for license information.
trigger:
batch: true
branches:
include:
- main
paths:
exclude:
- README.md
tags:
include:
- "*"
pr: none
resources:
repositories:
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
pool:
name: VSEngSS-MicroBuild2022-1ES
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
image: 1ESPT-Windows2022
policheck:
enabled: true
binskim:
enabled: true
scanOutputDirectoryOnly: true # BinSkim scans whole source tree but we only need to scan the output dir.
analyzeTargetGlob: +:f|$(Build.ArtifactStagingDirectory)\out\**;-:f|$(Build.ArtifactStagingDirectory)\out\**\*.test.*
tsa:
enabled: true
configFile: $(Build.SourcesDirectory)\.config\tsaoptions.json
onboard: false
stages:
- stage: Build
jobs:
- job: Build
templateContext:
mb:
signing:
enabled: true
signType: $(SignType)
steps:
- template: /pipelines/templates/build.yml@self
parameters:
BuildConfiguration: $(BuildConfiguration)
BuildPlatform: $(BuildPlatform)
Sign: true
PublishArtifactTemplate: /pipelines/templates/1es-publish-task.yml@self