mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-30 21:02:27 +00:00 
			
		
		
		
	Update CI files (#1030)
Update CI files: - add another apt repository for spec test on x86-32 as some packages cannot be downloaded with the Github default repository - trigger the CI file when it is modified
This commit is contained in:
		
							parent
							
								
									55ad4c7ec7
								
							
						
					
					
						commit
						60595d72e1
					
				|  | @ -11,6 +11,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_android_ubuntu_macos.yml" | ||||
|   # will be triggered on push events | ||||
|   push: | ||||
|     paths-ignore: | ||||
|  | @ -18,6 +19,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_android_ubuntu_macos.yml" | ||||
|   # allow to be triggered manually | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										2
									
								
								.github/workflows/compilation_on_sgx.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/compilation_on_sgx.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -11,6 +11,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_sgx.yml" | ||||
|   # will be triggered on push events | ||||
|   push: | ||||
|     paths-ignore: | ||||
|  | @ -18,6 +19,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_sgx.yml" | ||||
|   # allow to be triggered manually | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										2
									
								
								.github/workflows/compilation_on_windows.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/compilation_on_windows.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -11,6 +11,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_windows.yml" | ||||
|   # will be triggered on push events | ||||
|   push: | ||||
|     paths-ignore: | ||||
|  | @ -18,6 +19,7 @@ on: | |||
|       - "ci/**" | ||||
|       - "doc/**" | ||||
|       - "test-tools/**" | ||||
|       - ".github/workflows/compilation_on_windows.yml" | ||||
|   # allow to be triggered manually | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										10
									
								
								.github/workflows/spec_test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/spec_test.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -13,6 +13,7 @@ on: | |||
|       - "product-mini/**" | ||||
|       - "tests/wamr-test-suites/spec-test-script/**" | ||||
|       - "tests/wamr-test-suites/test_wamr.sh" | ||||
|       - ".github/workflows/spec_test.yml" | ||||
|   # will be triggered on push events | ||||
|   push: | ||||
|     paths: | ||||
|  | @ -23,6 +24,7 @@ on: | |||
|       - "product-mini/**" | ||||
|       - "tests/wamr-test-suites/spec-test-script/**" | ||||
|       - "tests/wamr-test-suites/test_wamr.sh" | ||||
|       - ".github/workflows/spec_test.yml" | ||||
|   # allow to be triggered manually | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
|  | @ -140,7 +142,13 @@ jobs: | |||
|         run: echo "::error::can not get prebuilt llvm libraries" && exit 1 | ||||
| 
 | ||||
|       - name: install Ninja and x32 support libraries | ||||
|         run: sudo apt install -y g++-multilib libgcc-9-dev lib32gcc-9-dev ninja-build | ||||
|         run: | ||||
|             # Add another apt repository as some packages cannot | ||||
|             # be downloaded with the github default repository | ||||
|             sudo curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc && | ||||
|             sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod && | ||||
|             sudo apt-get update && | ||||
|             sudo apt install -y g++-multilib lib32gcc-9-dev ninja-build | ||||
| 
 | ||||
|       - name: run spec tests | ||||
|         run: ./test_wamr.sh ${{ env.X86_32_TARGET_TEST_OPTIONS }} ${{ matrix.test_option }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Wenyong Huang
						Wenyong Huang