Remove CentOS tests
This commit is contained in:
parent
86e85ba539
commit
523852467b
62
.github/workflows/hw_mode_test.yml
vendored
62
.github/workflows/hw_mode_test.yml
vendored
@ -650,41 +650,41 @@ jobs:
|
|||||||
run: docker stop $gvisor_test
|
run: docker stop $gvisor_test
|
||||||
|
|
||||||
|
|
||||||
Test_rpm_deploy:
|
# Test_rpm_deploy:
|
||||||
if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
runs-on: ${{ matrix.self_runner }}
|
# runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
self_runner: [[self-hosted, SGX1-HW], [self-hosted, SGX2-HW]]
|
# self_runner: [[self-hosted, SGX1-HW], [self-hosted, SGX2-HW]]
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Clean before running
|
# - name: Clean before running
|
||||||
run: |
|
# run: |
|
||||||
sudo chown -R ${{ secrets.CI_ADMIN }} "${{ github.workspace }}"
|
# sudo chown -R ${{ secrets.CI_ADMIN }} "${{ github.workspace }}"
|
||||||
|
|
||||||
- name: Checkout code
|
# - name: Checkout code
|
||||||
if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
submodules: false
|
# submodules: false
|
||||||
|
|
||||||
- name: Test deployment
|
# - name: Test deployment
|
||||||
run: |
|
# run: |
|
||||||
cd demos/deployment
|
# cd demos/deployment
|
||||||
if [[ "${{ matrix.self_runner[1] }}" == "SGX1-HW" ]]; then
|
# if [[ "${{ matrix.self_runner[1] }}" == "SGX1-HW" ]]; then
|
||||||
./deploy_image_test.sh centos8.2
|
# ./deploy_image_test.sh centos8.2
|
||||||
elif [[ "${{ matrix.self_runner[1] }}" == "SGX2-HW" ]]; then
|
# elif [[ "${{ matrix.self_runner[1] }}" == "SGX2-HW" ]]; then
|
||||||
DEVICE_OPTION="-v /dev/sgx:/dev/sgx" ./deploy_image_test.sh centos8.2
|
# DEVICE_OPTION="-v /dev/sgx:/dev/sgx" ./deploy_image_test.sh centos8.2
|
||||||
else
|
# else
|
||||||
echo "Unsupported Hardware"
|
# echo "Unsupported Hardware"
|
||||||
exit 1
|
# exit 1
|
||||||
fi;
|
# fi;
|
||||||
|
|
||||||
- name: Clean the environment
|
# - name: Clean the environment
|
||||||
if: ${{ always() }}
|
# if: ${{ always() }}
|
||||||
run: |
|
# run: |
|
||||||
docker stop centos8.2_deploy_test
|
# docker stop centos8.2_deploy_test
|
||||||
docker rm -f centos8.2_deploy_test
|
# docker rm -f centos8.2_deploy_test
|
||||||
|
|
||||||
|
|
||||||
Test_deb_deploy:
|
Test_deb_deploy:
|
||||||
|
50
.github/workflows/main.yml
vendored
50
.github/workflows/main.yml
vendored
@ -39,34 +39,34 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail"
|
run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail"
|
||||||
|
|
||||||
Make_test_on_centos:
|
# Make_test_on_centos:
|
||||||
runs-on: ubuntu-18.04
|
# runs-on: ubuntu-18.04
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v1
|
# - uses: actions/checkout@v1
|
||||||
with:
|
# with:
|
||||||
submodules: true
|
# submodules: true
|
||||||
|
|
||||||
- uses: ./.github/workflows/composite_action/sim
|
# - uses: ./.github/workflows/composite_action/sim
|
||||||
with:
|
# with:
|
||||||
container-name: ${{ github.job }}
|
# container-name: ${{ github.job }}
|
||||||
build-envs: 'OCCLUM_RELEASE_BUILD=1'
|
# build-envs: 'OCCLUM_RELEASE_BUILD=1'
|
||||||
os: 'centos8.2'
|
# os: 'centos8.2'
|
||||||
|
|
||||||
- name: Check format
|
# - name: Check format
|
||||||
run: docker exec ${{ github.job }} bash -c 'cd /root/occlum; info=$(make format-check);
|
# run: docker exec ${{ github.job }} bash -c 'cd /root/occlum; info=$(make format-check);
|
||||||
if [[ -n $info ]]; then
|
# if [[ -n $info ]]; then
|
||||||
echo "Format error detected.";
|
# echo "Format error detected.";
|
||||||
echo "$info";
|
# echo "$info";
|
||||||
exit 1;
|
# exit 1;
|
||||||
fi'
|
# fi'
|
||||||
|
|
||||||
- name: Integration test
|
# - name: Integration test
|
||||||
run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make 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
|
# - 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"
|
# run: docker exec ${{ github.job }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test-glibc"
|
||||||
|
|
||||||
- name: Show failed cases
|
# - name: Show failed cases
|
||||||
if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail"
|
# run: docker exec ${{ github.job }} bash -c "cat /root/occlum/build/test/.fail"
|
||||||
|
Loading…
Reference in New Issue
Block a user