forked from tokio-rs/tokio
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b578adc
commit ab2ae6e
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash -ex | ||
repo_root=$(readlink -f $(dirname ${BASH_SOURCE[0]})) | ||
cd ${repo_root} | ||
|
||
source ${repo_root}/ct_env.sh | ||
|
||
cargo test | ||
|
||
pushd tokio | ||
cargo test --target x86_64-fortanix-unknown-sgx --features "full-sgx" | ||
popd | ||
|
||
pushd tokio-macros | ||
cargo test --target x86_64-fortanix-unknown-sgx | ||
popd | ||
|
||
pushd tokio-stream | ||
cargo test --target x86_64-fortanix-unknown-sgx | ||
popd | ||
|
||
pushd stress-test | ||
cargo test --target x86_64-fortanix-unknown-sgx | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash -ex | ||
repo_root=$(readlink -f $(dirname ${BASH_SOURCE[0]})) | ||
cd ${repo_root} | ||
|
||
# Unfortunately, the `ftxsgx-runner-cargo` application doesn't enable us to point to a runner within the same workspace. We use a hack here by pointing to `enclave-runner` and making sure such an executable exists when running CI | ||
pushd enclave-runner | ||
cargo build | ||
popd | ||
|
||
export PATH=${repo_root}/target/debug/:${PATH} |