add missing udev
							parent
							
								
									031501fa91
								
							
						
					
					
						commit
						533f2452bd
					
				@ -1,17 +1,21 @@
 | 
				
			|||||||
 | 
					image: rust:latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
stages:
 | 
					stages:
 | 
				
			||||||
 | 
					  - sysdep
 | 
				
			||||||
  - build
 | 
					  - build
 | 
				
			||||||
 | 
					  - test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sysdep:
 | 
				
			||||||
 | 
					  stage: sysdep
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - apt-get install libudev-dev 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rust-latest:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  image: rust:latest
 | 
					 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cargo build --verbose --features backend_piston,backend_gilrs
 | 
					    - cargo build --verbose --features backend_piston,backend_gilrs
 | 
				
			||||||
    - cargo test --verbose --features backend_piston,backend_gilrs
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
rust-nightly:
 | 
					test:
 | 
				
			||||||
  stage: build
 | 
					  stage: test
 | 
				
			||||||
  image: rustlang/rust:nightly
 | 
					 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cargo build --verbose
 | 
					    - cargo test --features backend_piston,backend_gilrs
 | 
				
			||||||
    - cargo test --verbose
 | 
					 | 
				
			||||||
  allow_failure: true
 | 
					 | 
				
			||||||
 | 
				
			|||||||
					Loading…
					
					
				
		Reference in New Issue