Skip to content

Commit 32950c0

Browse files
committed
Enable pipeline building
1 parent ea1162e commit 32950c0

File tree

1 file changed

+70
-6
lines changed

1 file changed

+70
-6
lines changed

.drone.yml

Lines changed: 70 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ name: centos6-nightly-debug
44
steps:
55
- name: centos6-nightly-debug
66
image: baiduxlab/useful-docker:centos.6.nightly
7+
environment:
8+
CARGO_BUILD_PIPELINING: true
79
commands:
810
- source /root/.profile
911
- cargo test
@@ -26,6 +28,8 @@ name: centos6-nightly-release
2628
steps:
2729
- name: centos6-nightly-release
2830
image: baiduxlab/useful-docker:centos.6.nightly
31+
environment:
32+
CARGO_BUILD_PIPELINING: true
2933
commands:
3034
- source /root/.profile
3135
- cargo test --release
@@ -48,6 +52,8 @@ name: centos6-stable-debug
4852
steps:
4953
- name: centos6-stable-debug
5054
image: baiduxlab/useful-docker:centos.6.stable
55+
environment:
56+
CARGO_BUILD_PIPELINING: true
5157
commands:
5258
- source /root/.profile
5359
- cargo test
@@ -70,6 +76,8 @@ name: centos6-stable-release
7076
steps:
7177
- name: centos6-stable-release
7278
image: baiduxlab/useful-docker:centos.6.stable
79+
environment:
80+
CARGO_BUILD_PIPELINING: true
7381
commands:
7482
- source /root/.profile
7583
- cargo test --release
@@ -93,6 +101,8 @@ name: centos7-nightly-debug
93101
steps:
94102
- name: centos7-nightly-debug
95103
image: baiduxlab/useful-docker:centos.6.nightly
104+
environment:
105+
CARGO_BUILD_PIPELINING: true
96106
commands:
97107
- source /root/.profile
98108
- cargo test
@@ -115,6 +125,8 @@ name: centos7-nightly-release
115125
steps:
116126
- name: centos7-nightly-release
117127
image: baiduxlab/useful-docker:centos.6.nightly
128+
environment:
129+
CARGO_BUILD_PIPELINING: true
118130
commands:
119131
- source /root/.profile
120132
- cargo test --release
@@ -137,6 +149,8 @@ name: centos7-stable-debug
137149
steps:
138150
- name: centos7-stable-debug
139151
image: baiduxlab/useful-docker:centos.6.stable
152+
environment:
153+
CARGO_BUILD_PIPELINING: true
140154
commands:
141155
- source /root/.profile
142156
- cargo test
@@ -159,6 +173,8 @@ name: centos7-stable-release
159173
steps:
160174
- name: centos7-stable-release
161175
image: baiduxlab/useful-docker:centos.6.stable
176+
environment:
177+
CARGO_BUILD_PIPELINING: true
162178
commands:
163179
- source /root/.profile
164180
- cargo test --release
@@ -182,6 +198,8 @@ name: ubuntu1604-nightly-debug
182198
steps:
183199
- name: ubuntu1604-nightly-debug
184200
image: baiduxlab/useful-docker:ubuntu.1604.nightly
201+
environment:
202+
CARGO_BUILD_PIPELINING: true
185203
commands:
186204
- . /root/.profile
187205
- cargo test
@@ -204,6 +222,8 @@ name: ubuntu1604-nightly-release
204222
steps:
205223
- name: ubuntu1604-nightly-release
206224
image: baiduxlab/useful-docker:ubuntu.1604.nightly
225+
environment:
226+
CARGO_BUILD_PIPELINING: true
207227
commands:
208228
- . /root/.profile
209229
- cargo test --release
@@ -226,6 +246,8 @@ name: ubuntu1604-stable-debug
226246
steps:
227247
- name: ubuntu1604-stable-debug
228248
image: baiduxlab/useful-docker:ubuntu.1604.stable
249+
environment:
250+
CARGO_BUILD_PIPELINING: true
229251
commands:
230252
- . /root/.profile
231253
- cargo test
@@ -248,6 +270,8 @@ name: ubuntu1604-stable-release
248270
steps:
249271
- name: ubuntu1604-stable-release
250272
image: baiduxlab/useful-docker:ubuntu.1604.stable
273+
environment:
274+
CARGO_BUILD_PIPELINING: true
251275
commands:
252276
- . /root/.profile
253277
- cargo test --release
@@ -271,6 +295,8 @@ name: ubuntu1804-nightly-debug
271295
steps:
272296
- name: ubuntu1804-nightly-debug
273297
image: baiduxlab/useful-docker:ubuntu.1804.nightly
298+
environment:
299+
CARGO_BUILD_PIPELINING: true
274300
commands:
275301
- . /root/.profile
276302
- cargo test
@@ -293,6 +319,8 @@ name: ubuntu1804-nightly-release
293319
steps:
294320
- name: ubuntu1804-nightly-release
295321
image: baiduxlab/useful-docker:ubuntu.1804.nightly
322+
environment:
323+
CARGO_BUILD_PIPELINING: true
296324
commands:
297325
- . /root/.profile
298326
- cargo test --release
@@ -315,6 +343,8 @@ name: ubuntu1804-stable-debug
315343
steps:
316344
- name: ubuntu1804-stable-debug
317345
image: baiduxlab/useful-docker:ubuntu.1804.stable
346+
environment:
347+
CARGO_BUILD_PIPELINING: true
318348
commands:
319349
- . /root/.profile
320350
- cargo test
@@ -337,6 +367,8 @@ name: ubuntu1804-stable-release
337367
steps:
338368
- name: ubuntu1804-stable-release
339369
image: baiduxlab/useful-docker:ubuntu.1804.stable
370+
environment:
371+
CARGO_BUILD_PIPELINING: true
340372
commands:
341373
- . /root/.profile
342374
- cargo test --release
@@ -360,10 +392,14 @@ name: gbdt-sgx-xargo-1604-sw
360392
steps:
361393
- name: sim-compile
362394
image: baiduxlab/sgx-rust:1604-1.0.8
395+
environment:
396+
SGX_MODE: SW
397+
XARGO_SGX: 1
398+
CARGO_BUILD_PIPELINING: true
363399
commands:
364400
- . /opt/sgxsdk/environment
365401
- . /root/.cargo/env
366-
- cd sgx && SGX_MODE=SW XARGO_SGX=1 make -C gbdt-sgx-test
402+
- cd sgx && make -C gbdt-sgx-test
367403

368404
- name: sim-test
369405
image: baiduxlab/sgx-rust:1604-1.0.8
@@ -382,10 +418,14 @@ name: gbdt-sgx-xargo-1604-hw
382418
steps:
383419
- name: hw-compile
384420
image: baiduxlab/sgx-rust:1604-1.0.8
421+
environment:
422+
SGX_MODE: HW
423+
XARGO_SGX: 1
424+
CARGO_BUILD_PIPELINING: true
385425
commands:
386426
- . /opt/sgxsdk/environment
387427
- . /root/.cargo/env
388-
- cd sgx && XARGO_SGX=1 make -C gbdt-sgx-test
428+
- cd sgx && make -C gbdt-sgx-test
389429

390430
- name: hw-test
391431
image: baiduxlab/sgx-rust:1604-1.0.8
@@ -420,10 +460,14 @@ name: gbdt-sgx-xargo-1804-sw
420460
steps:
421461
- name: sim-compile
422462
image: baiduxlab/sgx-rust:1804-1.0.8
463+
environment:
464+
SGX_MODE: SW
465+
XARGO_SGX: 1
466+
CARGO_BUILD_PIPELINING: true
423467
commands:
424468
- . /opt/sgxsdk/environment
425469
- . /root/.cargo/env
426-
- cd sgx && SGX_MODE=SW XARGO_SGX=1 make -C gbdt-sgx-test
470+
- cd sgx && make -C gbdt-sgx-test
427471

428472
- name: sim-test
429473
image: baiduxlab/sgx-rust:1804-1.0.8
@@ -442,10 +486,14 @@ name: gbdt-sgx-xargo-1804-hw
442486
steps:
443487
- name: hw-compile
444488
image: baiduxlab/sgx-rust:1804-1.0.8
489+
environment:
490+
SGX_MODE: HW
491+
XARGO_SGX: 1
492+
CARGO_BUILD_PIPELINING: true
445493
commands:
446494
- . /opt/sgxsdk/environment
447495
- . /root/.cargo/env
448-
- cd sgx && XARGO_SGX=1 make -C gbdt-sgx-test
496+
- cd sgx && make -C gbdt-sgx-test
449497

450498
- name: hw-test
451499
image: baiduxlab/sgx-rust:1804-1.0.8
@@ -480,10 +528,14 @@ name: gbdt-sgx-1604-sw
480528
steps:
481529
- name: sim-compile
482530
image: baiduxlab/sgx-rust:1604-1.0.8
531+
environment:
532+
SGX_MODE: SW
533+
XARGO_SGX: 0
534+
CARGO_BUILD_PIPELINING: true
483535
commands:
484536
- . /opt/sgxsdk/environment
485537
- . /root/.cargo/env
486-
- SGX_MODE=SW make -C sgx/gbdt-sgx-test
538+
- make -C sgx/gbdt-sgx-test
487539

488540
- name: sim-test
489541
image: baiduxlab/sgx-rust:1604-1.0.8
@@ -502,6 +554,10 @@ name: gbdt-sgx-1604-hw
502554
steps:
503555
- name: hw-compile
504556
image: baiduxlab/sgx-rust:1604-1.0.8
557+
environment:
558+
SGX_MODE: HW
559+
XARGO_SGX: 0
560+
CARGO_BUILD_PIPELINING: true
505561
commands:
506562
- . /opt/sgxsdk/environment
507563
- . /root/.cargo/env
@@ -540,10 +596,14 @@ name: gbdt-sgx-1804-sw
540596
steps:
541597
- name: sim-compile
542598
image: baiduxlab/sgx-rust:1804-1.0.8
599+
environment:
600+
SGX_MODE: SW
601+
XARGO_SGX: 0
602+
CARGO_BUILD_PIPELINING: true
543603
commands:
544604
- . /opt/sgxsdk/environment
545605
- . /root/.cargo/env
546-
- SGX_MODE=SW make -C sgx/gbdt-sgx-test
606+
- make -C sgx/gbdt-sgx-test
547607

548608
- name: sim-test
549609
image: baiduxlab/sgx-rust:1804-1.0.8
@@ -562,6 +622,10 @@ name: gbdt-sgx-1804-hw
562622
steps:
563623
- name: hw-compile
564624
image: baiduxlab/sgx-rust:1804-1.0.8
625+
environment:
626+
SGX_MODE: HW
627+
XARGO_SGX: 0
628+
CARGO_BUILD_PIPELINING: true
565629
commands:
566630
- . /opt/sgxsdk/environment
567631
- . /root/.cargo/env

0 commit comments

Comments
 (0)