Update enclave-tls demo test

This commit is contained in:
Shirong Hao 2021-05-18 13:10:53 +00:00 committed by Zongmin.Gu
parent a9850745f8
commit adc79d3a26
2 changed files with 2 additions and 4 deletions

@ -479,7 +479,7 @@ jobs:
- name: Run the encalve tls client
run: |
sleep ${{ env.nap_time }};
docker exec enclave_ra_tls_test bash -c "/opt/enclave-tls/bin/enclave-tls-client" || true
docker exec enclave_ra_tls_test bash -c "/usr/share/enclave-tls/samples/enclave-tls-client" || true
vault_test:
runs-on: ubuntu-18.04

@ -8,12 +8,10 @@ cd occlum_workspace
occlum init
# 2. Copy files into Occlum Workspace and Build
cp -f /opt/enclave-tls/bin/enclave-tls-server image/bin
cp -f /usr/share/enclave-tls/samples/enclave-tls-server image/bin
cp -f /opt/occlum/glibc/lib/libdl.so.2 image/opt/occlum/glibc/lib
mkdir -p image/opt/enclave-tls
cp -rf /opt/enclave-tls/lib image/opt/enclave-tls
# The following libs are required by libenclave_quote_sgx_ecdsa.so
cp /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so.1 image/opt/occlum/glibc/lib
occlum build
# 3. Run enclave_tls_server