forked from opendtrace/opendtrace
-
Notifications
You must be signed in to change notification settings - Fork 43
/
azure-pipelines.yml
50 lines (43 loc) · 1.06 KB
/
azure-pipelines.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
trigger:
- windows
pool:
vmImage: windows-latest
steps:
- task: PowerShell@2
displayName: "Get External Tools"
inputs:
filePath: 'releng\Get-ExternalTools.ps1'
- task: VSBuild@1
displayName: "VSBuild - x64"
inputs:
solution: '**\*.sln'
platform: 'x64'
configuration: 'Release'
clean: true
- task: VSBuild@1
displayName: "VSBuild - ARM64"
inputs:
solution: '**\*.sln'
platform: 'ARM64'
configuration: 'Release'
clean: true
- task: CopyFiles@2
displayName: "Copy output files"
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)'
Contents: |
**\build\**
!**\tmp\**\*
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
displayName: "Publish output files"
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'DTrace'
publishLocation: 'Container'
- task: ComponentGovernanceComponentDetection@0
displayName: "Component Detection and Governance"
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'