Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Try #1298:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Mar 25, 2020
2 parents 44d2fa0 + 9b292b1 commit 5ecb6cf
Showing 1 changed file with 19 additions and 31 deletions.
50 changes: 19 additions & 31 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,25 @@ steps:
- LD_LIBRARY_PATH=/opt/intel/libsgx-enclave-common/aesm /opt/intel/libsgx-enclave-common/aesm/aesm_service
- ./integration-tests/run_multinode.sh

- name: sgx-test
image: cryptocom/chain-test:latest
pull: if-not-exists
privileged: true
volumes:
- name: sgx
path: /dev/sgx
environment:
SGX_TEST: 1
RUST_LOG: debug
commands:
- export CARGO_HOME=$PWD/drone/cargo
- export CARGO_TARGET_DIR=/tmp
- LD_LIBRARY_PATH=/opt/intel/libsgx-enclave-common/aesm /opt/intel/libsgx-enclave-common/aesm/aesm_service
- make -C chain-tx-enclave/tx-validation
- cargo build --features sgx-test --manifest-path chain-abci/Cargo.toml
- cd $CARGO_TARGET_DIR/debug
- ./chain-abci

- name: teardown
image: cryptocom/chain-test:latest
pull: if-not-exists
Expand All @@ -82,37 +101,6 @@ trigger:
event:
- push

---
kind: pipeline
type: exec
name: sgx-cargo-1804-hw1

platform:
os: linux
arch: amd64

steps:
- name: Build and Test
commands:
- ls -l /dev/sgx
- ls -l /var/run/aesmd/aesm.socket
- docker run --name hw1-${DRONE_COMMIT_SHA} --rm -v $PWD:/chain --device /dev/sgx cryptocom/chain:latest /bin/bash /chain/ci-scripts/tx-validation-hw-test.sh
- name: Teardown
commands:
- docker stop hw1-${DRONE_COMMIT_SHA} || exit 0
when:
status:
- success
- failure

trigger:
branch:
- master
- staging
- trying
event:
- push

---
kind: pipeline
name: fuzzer
Expand Down

0 comments on commit 5ecb6cf

Please sign in to comment.