Skip to content

Commit 489de7a

Browse files
Merge #83
83: Bump SGX toolchain to match what we are using in backend r=Goirad a=jack-fortanix Co-authored-by: Jack Lloyd <[email protected]>
2 parents 13a1255 + 2df1303 commit 489de7a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ rust:
2121
- beta
2222
- nightly
2323
- nightly-2019-07-01
24-
- nightly-2019-07-11
24+
- nightly-2019-10-28
2525
env:
2626
global:
2727
- RUST_BACKTRACE=1
2828
# Pinned to this particular nightly version because of core_io. This can be
2929
# re-pinned whenever core_io is updated to the latest nightly.
3030
- CORE_IO_NIGHTLY=nightly-2019-07-01
31-
- SGX_NIGHTLY=nightly-2019-07-11
31+
- SGX_NIGHTLY=nightly-2019-10-28
3232
- LLVM_CONFIG_PATH=llvm-config-3.8
3333
script:
3434
- ./ct.sh

ct.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ cd "$(dirname "$0")"
44

55
cd "./mbedtls"
66

7+
if [ -z $TRAVIS_RUST_VERSION ]; then
8+
echo "Expected TRAVIS_RUST_VERSION to be set in env"
9+
exit 1
10+
fi
11+
712
if [ $TRAVIS_RUST_VERSION = "stable" ] || [ $TRAVIS_RUST_VERSION = "beta" ] || [ $TRAVIS_RUST_VERSION = "nightly" ]; then
813
rustup default $TRAVIS_RUST_VERSION
914
cargo test
@@ -22,4 +27,7 @@ elif [ $TRAVIS_RUST_VERSION = $SGX_NIGHTLY ]; then
2227
rustup target add --toolchain $SGX_NIGHTLY x86_64-fortanix-unknown-sgx
2328
cargo +$SGX_NIGHTLY test --no-run --target=x86_64-fortanix-unknown-sgx --features=sgx --no-default-features
2429

30+
else
31+
echo "Unknown version $TRAVIS_RUST_VERSION"
32+
exit 1
2533
fi

0 commit comments

Comments
 (0)