From 4048686c3bd2da0395eaf0ae15ae75a94d93d4e8 Mon Sep 17 00:00:00 2001 From: James Dong Date: Tue, 29 Sep 2020 04:01:21 +0000 Subject: [PATCH] Add Golang SQLite test for CI --- .github/workflows/demo_test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/demo_test.yml b/.github/workflows/demo_test.yml index 910523de..4a571bd4 100644 --- a/.github/workflows/demo_test.yml +++ b/.github/workflows/demo_test.yml @@ -72,6 +72,10 @@ jobs: sleep ${{ env.nap_time }}; docker exec language_support_test bash -c "cd /root/occlum/demos/golang/grpc_pingpong && SGX_MODE=SIM ./run_ping_on_occlum.sh" & + # TODO: Remove " || true " because in simulation mode, process exits brutely and can cause segmentation fault in some cases. + - name: Run Golang sqlite test + run: docker exec language_support_test bash -c "cd /root/occlum/demos/golang/go_sqlite/ && SGX_MODE=SIM ./run_go_sqlite_demo.sh" || true + # TODO: When sgx simulation mode can handle interrupt signal, remove this. - name: Kill the container run: |