Fix several hardware CI test
Including gvisor, grpc, and deb deploy test.
This commit is contained in:
parent
bf2d729e46
commit
cf15b3d04a
12
.github/workflows/hw_mode_test.yml
vendored
12
.github/workflows/hw_mode_test.yml
vendored
@ -573,13 +573,6 @@ jobs:
|
||||
sleep ${{ env.nap_time }};
|
||||
docker exec $grpc_test bash -c "cd /root/demos/grpc/grpc_musl && ./run_client_on_occlum.sh"
|
||||
|
||||
- name: Clean the environment
|
||||
if: ${{ always() }}
|
||||
run: docker stop $grpc_test
|
||||
|
||||
- name: Restart the docker
|
||||
run: docker start $grpc_test
|
||||
|
||||
- name: Prepare grpc glibc sample project
|
||||
run: docker exec $grpc_test bash -c "cd /root/demos/grpc/grpc_glibc && ./prepare_client_server_glibc.sh"
|
||||
|
||||
@ -653,8 +646,11 @@ jobs:
|
||||
- name: Make install
|
||||
run: docker exec $gvisor_test bash -c "source /opt/intel/sgxsdk/environment; cd /root/occlum; OCCLUM_RELEASE_BUILD=y make install"
|
||||
|
||||
- name: Clone gvisor code
|
||||
run: docker exec $gvisor_test bash -c "git clone https://github.com/occlum/gvisor.git"
|
||||
|
||||
- name: Run gvisor syscall test
|
||||
run: docker exec $gvisor_test bash -c "cd /root/gvisor_occlum; ./run_occlum_passed_tests.sh"
|
||||
run: docker exec $gvisor_test bash -c "cd /root/gvisor/occlum; ./run_occlum_passed_tests.sh"
|
||||
|
||||
- name: Clean the environment
|
||||
if: ${{ always() }}
|
||||
|
@ -1,8 +1,8 @@
|
||||
#! /bin/bash
|
||||
set -xe
|
||||
|
||||
if [[ $1 != "ubuntu18.04" && $1 != "centos8.2" ]]; then
|
||||
echo "Must choose between <ubuntu18.04/centos8.2>."
|
||||
if [[ $1 != "ubuntu20.04" ]]; then
|
||||
echo "Only ubuntu20.04 is supported."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user