-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathado-build.yml
More file actions
65 lines (53 loc) · 1.37 KB
/
ado-build.yml
File metadata and controls
65 lines (53 loc) · 1.37 KB
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
62
63
64
pr:
- "*"
jobs:
- job: linux
pool:
vmImage: "ubuntu-latest"
steps:
- checkout: self
- task: UseDotNet@2
displayName: .NET Core 9 sdk
inputs:
version: "9.0.x"
packageType: sdk
- task: Bash@3
displayName: "Build and Test"
inputs:
filePath: "BuildAndTest.sh"
failOnStderr: true
- job: windows
pool:
vmImage: "windows-latest"
steps:
- task: UseDotNet@2
displayName: .NET Core 9 sdk
inputs:
version: "9.0.x"
packageType: sdk
- checkout: self
- task: CmdLine@2
displayName: "Build and Test"
inputs:
script: "BuildAndTest.cmd"
- task: ComponentGovernanceComponentDetection@0
- job: mac
pool:
vmImage: "macOS-latest"
steps:
- task: UseDotNet@2
displayName: .NET Core 9 sdk
inputs:
version: "9.0.x"
packageType: sdk
- checkout: self
- task: Bash@3
displayName: "Build and Test"
inputs:
filePath: "BuildAndTest.sh"
failOnStderr: true
- task: Bash@3
displayName: "Run BinSkim"
inputs:
targetType: "inline"
script: "dotnet bld/bin/BinSkim.Driver/release_osx-x64/BinSkim.dll analyze src/Test.FunctionalTests.BinSkim.Driver/BaselineTestData/macho.*"