-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
79 lines (72 loc) · 1.48 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
jobs:
- job: Build
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:1
options: --cap-add=SYS_PTRACE
steps:
- script: /root/scripts/azure-build.sh
- task: PublishPipelineArtifact@0
inputs:
artifactName: "build_archive"
targetPath: ./build.tar.gz
- job: Lint
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:1
options: --cap-add=SYS_PTRACE
dependsOn: Build
condition: succeeded()
steps:
- task: DownloadPipelineArtifact@0
inputs:
artifactName: "build_archive"
targetPath: .
- script: /root/scripts/azure-lint.sh
- job: Test
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:1
options: --cap-add=SYS_PTRACE
dependsOn: Build
condition: succeeded()
variables:
NUM_WORKERS: 10
strategy:
maxParallel: 10
matrix:
worker_0:
WORKER: 0
worker_1:
WORKER: 1
worker_2:
WORKER: 2
worker_3:
WORKER: 3
worker_4:
WORKER: 4
worker_5:
WORKER: 5
worker_6:
WORKER: 6
worker_7:
WORKER: 7
worker_8:
WORKER: 8
worker_9:
WORKER: 9
steps:
- task: DownloadPipelineArtifact@0
inputs:
artifactName: "build_archive"
targetPath: .
- script: /root/scripts/azure-test.sh
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: "JUnit"
testResultsFiles: "build/results/*.xml"
mergeTestResults: true