Add trace log for CI make test

This commit is contained in:
Hui, Chunyang 2021-01-13 05:11:53 +00:00 committed by Zongmin.Gu
parent f711dcdf6d
commit 1be5bf2c6c
2 changed files with 6 additions and 6 deletions

@ -58,10 +58,10 @@ jobs:
run: docker exec $occlum_test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y make install" run: docker exec $occlum_test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y make install"
- name: Integration test - name: Integration test
run: docker exec $occlum_test bash -c "cd /root/occlum; make test" run: docker exec $occlum_test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace make test"
- name: Integration test with Glibc - name: Integration test with Glibc
run: docker exec $occlum_test bash -c "cd /root/occlum; make test-glibc" run: docker exec $occlum_test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace make test-glibc"
- name: Clean the environment - name: Clean the environment
if: ${{ always() }} if: ${{ always() }}

@ -37,10 +37,10 @@ jobs:
run: docker exec ubuntu-test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make" run: docker exec ubuntu-test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make"
- name: Integration test - name: Integration test
run: docker exec ubuntu-test bash -c "cd /root/occlum; SGX_MODE=SIM make test" run: docker exec ubuntu-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test"
- name: Integration test with Glibc - name: Integration test with Glibc
run: docker exec ubuntu-test bash -c "cd /root/occlum; SGX_MODE=SIM make test-glibc" run: docker exec ubuntu-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test-glibc"
Make_test_on_centos: Make_test_on_centos:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
@ -71,7 +71,7 @@ jobs:
run: docker exec centos-test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make" run: docker exec centos-test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make"
- name: Integration test - name: Integration test
run: docker exec centos-test bash -c "cd /root/occlum; SGX_MODE=SIM make test" run: docker exec centos-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test"
- name: Integration test with Glibc - name: Integration test with Glibc
run: docker exec centos-test bash -c "cd /root/occlum; SGX_MODE=SIM make test-glibc" run: docker exec centos-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test-glibc"