forked from microsoft/CCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-ci.yml
142 lines (133 loc) · 3.31 KB
/
.vsts-ci.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
trigger:
batch: true
branches:
include:
- "ci/*"
paths:
exclude:
- 'README.md'
- 'CCF-TECHNICAL-REPORT.pdf'
- 'Dockerfile'
- 'Doxyfile'
- 'THIRD_PARTY_NOTICES.txt'
- 'getting_started/'
- 'sphinx/'
- '.circleci/'
- '.github/'
- '.vsts-gh-pages.yml'
- 'LICENSE'
pr:
autoCancel: true
branches:
include:
- master
paths:
include:
- '*'
exclude:
- 'README.md'
- 'CCF-TECHNICAL-REPORT.pdf'
- 'Dockerfile'
- 'Doxyfile'
- 'THIRD_PARTY_NOTICES.txt'
- 'getting_started/'
- 'sphinx/'
- '.circleci/'
- '.github/'
- '.vsts-gh-pages.yml'
- 'LICENSE'
schedules:
- cron: "15 7 * * Mon-Fri"
displayName: Daily morning build
branches:
include:
- master
always: true
jobs:
- job: ACC_1804_SGX_build
pool: Ubuntu-1804-SGX-Azure
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/build.yml
parameters:
cmake_args: '-DBUILD_SMALLBANK=OFF'
artifact_name: build_results
- job: ACC_1804_SGX_quick_tests
pool: Ubuntu-1804-SGX-Azure
dependsOn:
- ACC_1804_SGX_build
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/test.yml
parameters:
ctest_filter: '-LE "perf|end_to_end"'
suite_name_suffix: ' SGX quick tests'
artifact_name: build_results
- job: ACC_1804_SGX_e2e_tests_A
pool: Ubuntu-1804-SGX-Azure
dependsOn:
- ACC_1804_SGX_build
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/test.yml
parameters:
ctest_filter: '-L end_to_end -I 0,,2'
suite_name_suffix: ' SGX end to end tests A'
artifact_name: build_results
- job: ACC_1804_SGX_e2e_tests_B
pool: Ubuntu-1804-SGX-Azure
dependsOn:
- ACC_1804_SGX_build
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/test.yml
parameters:
ctest_filter: '-L end_to_end -I 1,,2'
suite_name_suffix: ' SGX end to end tests B'
artifact_name: build_results
- job: ACC_1804_SGX_perf_build
pool: Ubuntu-1804-SGX-Azure
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/build.yml
parameters:
cmake_args: '-DBUILD_SMALLBANK=ON -DCURVE_CHOICE=secp256k1_bitcoin'
artifact_name: perf_build_results
- job: ACC_1804_SGX_perf_build_A
pool: Ubuntu-1804-SGX-Azure
dependsOn:
- ACC_1804_SGX_perf_build
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/test.yml
parameters:
suite_name_suffix: ' SGX Performance A'
ctest_filter: '-L perf -I 0,,2'
artifact_name: perf_build_results
- template: .vsts-ci-templates/push_perf_data.yml
- job: ACC_1804_SGX_perf_build_B
pool: Ubuntu-1804-SGX-Azure
dependsOn:
- ACC_1804_SGX_perf_build
steps:
- checkout: self
clean: true
submodules: true
- template: .vsts-ci-templates/test.yml
parameters:
suite_name_suffix: ' SGX Performance B'
ctest_filter: '-L perf -I 1,,2'
artifact_name: perf_build_results
- template: .vsts-ci-templates/push_perf_data.yml