-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis-ci: Setup CI environment for building SGX-Step.
- Loading branch information
1 parent
78dd80e
commit f4eb750
Showing
5 changed files
with
55 additions
and
40 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "linux-sgx"] | ||
path = sdk/intel-sdk/linux-sgx | ||
url = https://github.com/01org/linux-sgx.git | ||
[submodule "linux-sgx-driver"] | ||
[submodule "kernel/linux-sgx-driver"] | ||
path = kernel/linux-sgx-driver | ||
url = https://github.com/01org/linux-sgx-driver.git | ||
[submodule "sdk/intel-sdk/linux-sgx"] | ||
path = sdk/intel-sdk/linux-sgx | ||
url = https://github.com/01org/linux-sgx.git |
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,33 @@ | ||
os: linux | ||
language: c | ||
arch: amd64 | ||
|
||
notifications: | ||
email: false | ||
|
||
# 1. Build and load `/dev/sgx-step` | ||
before_install: | ||
- sudo apt-get update | ||
- cd $TRAVIS_BUILD_DIR/kernel/ | ||
- bash -x ./install_SGX_driver.sh | ||
- make clean load | ||
|
||
# 2. Patch and install SGX SDK | ||
install: | ||
- cd $TRAVIS_BUILD_DIR/sdk/intel-sdk/ | ||
- bash -x ./install_SGX_SDK.sh | ||
- source /opt/intel/sgxsdk/environment | ||
- sudo service aesmd status | ||
- cd linux-sgx/SampleCode/LocalAttestation | ||
- make SGX_MODE=SIM | ||
- cd bin | ||
- ./app | ||
|
||
# 3. Build test applications | ||
script: | ||
- for d in $TRAVIS_BUILD_DIR/app/*/ ; do echo -e "\n**** $d ****\n" ; cd "$d" ; make ; done | ||
|
||
jobs: | ||
include: | ||
- dist: bionic # 18.04 | ||
- dist: focal # 20.04 |
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
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
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