forked from OxHainan/cloak-tee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
78 lines (64 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
# https://aka.ms/yaml
trigger:
batch: true
branches:
include:
- "master"
paths:
include:
- '*'
exclude:
- '*.md'
- 'sphinx/*'
pr:
autoCancel: true
branches:
include:
- master
paths:
include:
- '*'
exclude:
- '*.md'
- 'sphinx/*'
jobs:
- job: build_and_test_sgx
displayName: Build and Test SGX
pool: Ubuntu-1804-DC4s
container:
image: ccfciteam/ccf-ci-18.04-oe-0.7.0-sgx:latest
options: --publish-all --device /dev/sgx:/dev/sgx
steps:
- checkout: self
clean: true
submodules: true
- script: mkdir build
displayName: 'Create build directory'
- script: cmake .. -GNinja -L
displayName: CMake
workingDirectory: build
- script: ninja
displayName: Build
workingDirectory: build
- script: ./tests.sh -VV
displayName: Tests
workingDirectory: build
- job: build_and_test_nosgx
displayName: Build and Test NoSGX
pool: Ubuntu-1804-D8s_v3
container: ccfciteam/ccf-ci-18.04-oe-0.7.0-sgx:latest
steps:
- checkout: self
clean: true
submodules: true
- script: mkdir build
displayName: 'Create build directory'
- script: cmake .. -GNinja -DTARGET=virtual -L
displayName: CMake (virtual)
workingDirectory: build
- script: ninja
displayName: Build
workingDirectory: build
- script: ./tests.sh -VV
displayName: Tests
workingDirectory: build