forked from fortanix/rust-sgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (57 loc) · 2.22 KB
/
.travis.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
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Not really necessary, just to get a green badge on “master”
- master
language: rust
matrix:
include:
- os: linux
dist: xenial
addons:
apt:
sources:
- sourceline: 'deb https://download.01.org/intel-sgx/sgx_repo/ubuntu xenial main'
key_url: 'https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key'
packages:
- protobuf-compiler
- libsgx-dcap-ql-dev
- libclang-3.8-dev
rust:
- nightly
env:
- RUST_BACKTRACE=1 LLVM_CONFIG_PATH=llvm-3.8-config
before_script:
- rustup target add x86_64-fortanix-unknown-sgx
script:
- cargo test --verbose --all
- cargo test --verbose -p sgx-isa --features sgxstd -Z package-features --target x86_64-fortanix-unknown-sgx --no-run
- cargo test --verbose -p sgxs-tools --features pe2sgxs --bin isgx-pe2sgx -Z package-features
- cargo test --verbose -p dcap-ql --features link -Z package-features
- cargo test --verbose -p dcap-ql --features verify -Z package-features
- cargo build --verbose -p aesm-client --target=x86_64-fortanix-unknown-sgx
- os: windows
before_install:
- choco install protoc
- choco install openssl
rust:
- nightly
env:
- RUST_BACKTRACE=1 LLVM_CONFIG_PATH=llvm-3.8-config OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"
before_script:
- rustup default nightly-x86_64-pc-windows-msvc
- rustup target add x86_64-fortanix-unknown-sgx
script:
- rustup toolchain list
- cargo test --verbose -p aesm-client
- cargo test --verbose -p enclave-runner
- cargo test --verbose -p fortanix-sgx-abi
- cargo test --verbose -p fortanix-sgx-tools
- cargo test --verbose -p report-test
- cargo test --verbose -p rs-libc
- cargo test --verbose -p sgxs
- cargo test --verbose -p sgxs-loaders
- cargo test --verbose -p sgxs-tools --features pe2sgxs --bin isgx-pe2sgx -Z package-features