Add CI
This commit is contained in:
		
							
								
								
									
										18
									
								
								.woodpecker-ci/build.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.woodpecker-ci/build.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					matrix:
 | 
				
			||||||
 | 
					  PLATFORM:
 | 
				
			||||||
 | 
					    - linux/amd64
 | 
				
			||||||
 | 
					    - linux/arm64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					labels:
 | 
				
			||||||
 | 
					  platform: ${PLATFORM}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    image: rust:1
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - cargo build
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      path:
 | 
				
			||||||
 | 
					        include: ["./**/Cargo.*", "./**/*.rs"]
 | 
				
			||||||
 | 
					        ignore_message: "[ALL]"
 | 
				
			||||||
 | 
					      event: [tag,push]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user