-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
55 lines (47 loc) · 855 Bytes
/
.drone.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
kind: pipeline
name: default
steps:
- name: test
image: rust:1.30
commands:
- cd test_drone
- pwd
- cargo build --verbose --all
- cargo test --verbose --all
- echo "HOME FOLDER = " $HOME
- ls $HOME
---
kind: pipeline
type: exec
name: integration
platform:
os: linux
arch: amd64
steps:
- name: integration
commands:
- export PATH=/root/.cargo/bin:$PATH
- export SGX_MODE=HW
- export NETWORK_ID=ab
- echo "HOME FOLDER = " $HOME
- pwd
- cd test_drone_integration
- rustup default stable
- cargo build
---
kind: pipeline
type: exec
name: integration_fail_test
platform:
os: linux
arch: amd64
steps:
- name: integration
commands:
- export PATH=/root/.cargo/bin:$PATH
- export SGX_MODE=HW
- export NETWORK_ID=ab
- echo "HOME FOLDER = " $HOME
- pwd
- cd test_drone_integration
- python ./a.py