From dc7599c87c7a328b8a76b840c5f33b4ca30aef92 Mon Sep 17 00:00:00 2001 From: LI Qing Date: Fri, 18 Dec 2020 10:28:39 +0800 Subject: [PATCH] Add CI for integration test with Glibc --- .github/workflows/hw_mode_test.yml | 3 +++ .github/workflows/main.yml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/hw_mode_test.yml b/.github/workflows/hw_mode_test.yml index 71508455..305cf31d 100644 --- a/.github/workflows/hw_mode_test.yml +++ b/.github/workflows/hw_mode_test.yml @@ -60,6 +60,9 @@ jobs: - name: Integration 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 if: ${{ always() }} run: docker stop $occlum_test diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6c7be8c0..79ce26ec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,8 @@ jobs: - name: Integration 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: runs-on: ubuntu-18.04 @@ -70,3 +72,6 @@ jobs: - name: Integration 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"