-
Notifications
You must be signed in to change notification settings - Fork 249
/
azure-pipelines.yaml
65 lines (57 loc) · 1.6 KB
/
azure-pipelines.yaml
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
65
# Azure build pipelines for Procmon-for-Linux
resources:
repositories:
- repository: ProcMon
type: github
endpoint: sysinternals
name: sysinternals/ProcMon-for-Linux
- repository: SysinternalsEBPF
type: github
endpoint: sysinternals
name: sysinternals/SysinternalsEBPF
trigger:
branches:
include:
- release/*
- main
exclude:
- dev/*
- test/*
pr:
- main
stages:
- stage: "Build"
jobs:
- job: "Build_Procmon"
pool:
vmImage: "ubuntu-20.04"
timeoutInMinutes: 240
steps:
- checkout: self
- checkout: SysinternalsEBPF
- script: |
clang --version
clang++ --version
gcc --version
displayName: 'List compiler versions'
- script: |
export LLVM_LIBRARY_DIRS=/usr/lib/llvm-6.0/lib
ls
chmod +x ProcMon-for-Linux/.devcontainer/install-ubuntu-dependencies.sh
ProcMon-for-Linux/.devcontainer/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: 'ProcMon-for-Linux'
runStaticAnalysis: true
builddir: 'procmon_build'