Fix feature configuration for make test
This commit is contained in:
		
							parent
							
								
									0b93c187f4
								
							
						
					
					
						commit
						d95199ace5
					
				
							
								
								
									
										9
									
								
								.github/workflows/hw_mode_test.yml
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										9
									
								
								.github/workflows/hw_mode_test.yml
									
									
									
									
										vendored
									
									
								
							| @ -54,6 +54,15 @@ jobs: | |||||||
|         container-name: ${{ github.job }} |         container-name: ${{ github.job }} | ||||||
|         build-envs: 'OCCLUM_RELEASE_BUILD=1' |         build-envs: 'OCCLUM_RELEASE_BUILD=1' | ||||||
| 
 | 
 | ||||||
|  |     # Udpate the test json file | ||||||
|  |     # When there comes new features, the configuration should be enabled accordingly | ||||||
|  |     - name: Configure Occlum features | ||||||
|  |       run: | | ||||||
|  |         if [[ "${{ matrix.self_runner[2] }}" == "EDMM" ]]; then | ||||||
|  |           docker exec ${{ env.CONTAINER_NAME }} bash -c "jq '.feature.enable_posix_shm = true | .feature.enable_edmm = true' /root/occlum/test/Occlum.json > /tmp.json && mv /tmp.json /root/occlum/test/Occlum.json" | ||||||
|  |         fi; | ||||||
|  |       shell: bash | ||||||
|  | 
 | ||||||
|     - name: Integration test |     - name: Integration test | ||||||
|       run:  docker exec ${{ env.CONTAINER_NAME }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace make test" |       run:  docker exec ${{ env.CONTAINER_NAME }} bash -c "cd /root/occlum; OCCLUM_LOG_LEVEL=trace make test" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user