Skip to content

Commit e6d5a5b

Browse files
committed
Pin to a specific SGX nightly
1 parent 966b487 commit e6d5a5b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ env:
2222
# Pinned to this particular nightly version because of core_io. This can be
2323
# re-pinned whenever core_io is updated to the latest nightly.
2424
- CORE_IO_NIGHTLY=nightly-2019-07-01
25+
- SGX_NIGHTLY=nightly-2019-07-11
2526
- LLVM_CONFIG_PATH=llvm-config-3.8
2627
matrix:
2728
include:

ct.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ elif [ $TOOLCHAIN = "coreio_nightly" ]; then
2323
cargo +$CORE_IO_NIGHTLY test --no-default-features --features core_io,rdrand
2424

2525
elif [ $TOOLCHAIN = "sgx" ]; then
26-
rustup toolchain add nightly
27-
cargo +nightly test --no-run --target=x86_64-fortanix-unknown-sgx --features=sgx --no-default-features
26+
27+
rustup toolchain add $SGX_NIGHTLY
28+
rustup target add --toolchain $SGX_NIGHTLY x86_64-fortanix-unknown-sgx
29+
cargo +$SGX_NIGHTLY test --no-run --target=x86_64-fortanix-unknown-sgx --features=sgx --no-default-features
2830

2931
fi

0 commit comments

Comments
 (0)