diff --git a/.github/workflows/hw_mode_test.yml b/.github/workflows/hw_mode_test.yml index 8b7cde6a..78e0bfbe 100644 --- a/.github/workflows/hw_mode_test.yml +++ b/.github/workflows/hw_mode_test.yml @@ -650,41 +650,41 @@ jobs: run: docker stop $gvisor_test - Test_rpm_deploy: - if: github.event_name == 'push' - runs-on: ${{ matrix.self_runner }} - strategy: - matrix: - self_runner: [[self-hosted, SGX1-HW], [self-hosted, SGX2-HW]] + # Test_rpm_deploy: + # if: github.event_name == 'push' + # runs-on: ${{ matrix.self_runner }} + # strategy: + # matrix: + # self_runner: [[self-hosted, SGX1-HW], [self-hosted, SGX2-HW]] - steps: - - name: Clean before running - run: | - sudo chown -R ${{ secrets.CI_ADMIN }} "${{ github.workspace }}" + # steps: + # - name: Clean before running + # run: | + # sudo chown -R ${{ secrets.CI_ADMIN }} "${{ github.workspace }}" - - name: Checkout code - if: github.event_name == 'push' - uses: actions/checkout@v2 - with: - submodules: false + # - name: Checkout code + # if: github.event_name == 'push' + # uses: actions/checkout@v2 + # with: + # submodules: false - - name: Test deployment - run: | - cd demos/deployment - if [[ "${{ matrix.self_runner[1] }}" == "SGX1-HW" ]]; then - ./deploy_image_test.sh centos8.2 - elif [[ "${{ matrix.self_runner[1] }}" == "SGX2-HW" ]]; then - DEVICE_OPTION="-v /dev/sgx:/dev/sgx" ./deploy_image_test.sh centos8.2 - else - echo "Unsupported Hardware" - exit 1 - fi; + # - name: Test deployment + # run: | + # cd demos/deployment + # if [[ "${{ matrix.self_runner[1] }}" == "SGX1-HW" ]]; then + # ./deploy_image_test.sh centos8.2 + # elif [[ "${{ matrix.self_runner[1] }}" == "SGX2-HW" ]]; then + # DEVICE_OPTION="-v /dev/sgx:/dev/sgx" ./deploy_image_test.sh centos8.2 + # else + # echo "Unsupported Hardware" + # exit 1 + # fi; - - name: Clean the environment - if: ${{ always() }} - run: | - docker stop centos8.2_deploy_test - docker rm -f centos8.2_deploy_test + # - name: Clean the environment + # if: ${{ always() }} + # run: | + # docker stop centos8.2_deploy_test + # docker rm -f centos8.2_deploy_test Test_deb_deploy: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d98960b..112123e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,34 +39,34 @@ jobs: if: ${{ failure() }} run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail" - Make_test_on_centos: - runs-on: ubuntu-18.04 + # Make_test_on_centos: + # runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v1 - with: - submodules: true + # steps: + # - uses: actions/checkout@v1 + # with: + # submodules: true - - uses: ./.github/workflows/composite_action/sim - with: - container-name: ${{ github.job }} - build-envs: 'OCCLUM_RELEASE_BUILD=1' - os: 'centos8.2' + # - uses: ./.github/workflows/composite_action/sim + # with: + # container-name: ${{ github.job }} + # build-envs: 'OCCLUM_RELEASE_BUILD=1' + # os: 'centos8.2' - - name: Check format - run: docker exec ${{ github.job }} bash -c 'cd /root/occlum; info=$(make format-check); - if [[ -n $info ]]; then - echo "Format error detected."; - echo "$info"; - exit 1; - fi' + # - name: Check format + # run: docker exec ${{ github.job }} bash -c 'cd /root/occlum; info=$(make format-check); + # if [[ -n $info ]]; then + # echo "Format error detected."; + # echo "$info"; + # exit 1; + # fi' - - name: Integration test - run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test" + # - name: Integration test + # run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test" - - name: Integration test with Glibc - run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test-glibc" + # - name: Integration test with Glibc + # run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test-glibc" - - name: Show failed cases - if: ${{ failure() }} - run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail" + # - name: Show failed cases + # if: ${{ failure() }} + # run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail"