Fix aliyunlinux image building and testing error
This commit is contained in:
		
							parent
							
								
									fa1196c0ce
								
							
						
					
					
						commit
						eaf47d1662
					
				| @ -78,7 +78,7 @@ jobs: | |||||||
|       run:  docker exec alinux2-test bash -c "cd /root/occlum; make submodule" |       run:  docker exec alinux2-test bash -c "cd /root/occlum; make submodule" | ||||||
| 
 | 
 | ||||||
|     - name: Build source |     - name: Build source | ||||||
|       run:  docker exec alinux2-test bash -c "cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make" |       run:  docker exec alinux2-test bash -c "source /opt/intel/sgxsdk/environment; cd /root/occlum; OCCLUM_RELEASE_BUILD=y SGX_MODE=SIM make" | ||||||
| 
 | 
 | ||||||
|     - name: Integration test |     - name: Integration test | ||||||
|       run:  docker exec alinux2-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test" |       run:  docker exec alinux2-test bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace SGX_MODE=SIM make test" | ||||||
|  | |||||||
| @ -180,6 +180,7 @@ RUN rm -rf occlum && \ | |||||||
|     source scl_source enable devtoolset-8 && \ |     source scl_source enable devtoolset-8 && \ | ||||||
|     git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum && \ |     git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum && \ | ||||||
|     cd occlum && \ |     cd occlum && \ | ||||||
|  |     source /opt/intel/sgxsdk/environment && \ | ||||||
|     make submodule && \ |     make submodule && \ | ||||||
|     OCCLUM_RELEASE_BUILD=1 make install && \ |     OCCLUM_RELEASE_BUILD=1 make install && \ | ||||||
|     cp -r demos /root/demos && \ |     cp -r demos /root/demos && \ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user