-
Notifications
You must be signed in to change notification settings - Fork 189
/
azure-pipelines.yml
61 lines (51 loc) · 1.4 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
51
52
53
54
55
56
57
58
59
60
61
# Azure build pipelines for Sysmon
resources:
repositories:
- repository: Sysmon
type: github
endpoint: sysinternals
name: Microsoft/SysmonforLinux
- repository: SysinternalsEBPF
type: github
endpoint: sysinternals
name: Microsoft/SysinternalsEBPF
trigger:
branches:
include:
- release/*
- main
exclude:
- dev/*
- test/*
pr:
- main
stages:
- stage: "Build"
jobs:
- job: "Build_Sysmon_Ubuntu"
pool:
vmImage: "ubuntu-20.04"
timeoutInMinutes: 240
steps:
- checkout: self
submodules: true
- checkout: SysinternalsEBPF
- script: |
chmod +x SysmonForLinux/.container/install-ubuntu-dependencies.sh
SysmonForLinux/.container/install-ubuntu-dependencies.sh
displayName: "Install pre-reqs for Ubuntu"
- template: templates/build.yaml@SysinternalsEBPF
parameters:
srcPath: 'SysinternalsEBPF'
runStaticAnalysis: false
builddir: 'sysinternalsEBPF_build'
- script: |
cd $(Build.SourcesDirectory)/SysinternalsEBPF/sysinternalsEBPF_build
sudo make install
sudo ldconfig
displayName: "Install SysinternalsEBPF"
- template: templates/build.yaml
parameters:
srcPath: 'SysmonForLinux'
runStaticAnalysis: true
builddir: 'sysinternalsEBPF_build'