Add CI for integration test with Glibc

This commit is contained in:
LI Qing 2020-12-18 10:28:39 +08:00 committed by Tate, Hongliang Tian
parent 81c53a7097
commit dc7599c87c
2 changed files with 8 additions and 0 deletions

@ -60,6 +60,9 @@ jobs:
- 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; make test"
- name: Integration test with Glibc
run: docker exec $occlum_test bash -c "cd /root/occlum; make test-glibc"
- name: Clean the environment - name: Clean the environment
if: ${{ always() }} if: ${{ always() }}
run: docker stop $occlum_test run: docker stop $occlum_test

@ -39,6 +39,8 @@ jobs:
- 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; SGX_MODE=SIM make test"
- name: Integration test with Glibc
run: docker exec ubuntu-test bash -c "cd /root/occlum; SGX_MODE=SIM make test-glibc"
Make_test_on_centos: Make_test_on_centos:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
@ -70,3 +72,6 @@ jobs:
- 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; SGX_MODE=SIM make test"
- name: Integration test with Glibc
run: docker exec centos-test bash -c "cd /root/occlum; SGX_MODE=SIM make test-glibc"