use docker drone
This commit is contained in:
		
							parent
							
								
									9b3d8dce26
								
							
						
					
					
						commit
						e6cf8ca721
					
				
							
								
								
									
										33
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -1,19 +1,32 @@ | ||||
| --- | ||||
| kind: pipeline | ||||
| type: exec | ||||
| name: test elseware | ||||
| 
 | ||||
| platform: | ||||
|     os: linux | ||||
|     arch: amd64 | ||||
| type: docker | ||||
| name: test libpso | ||||
| 
 | ||||
| steps: | ||||
| - name: get rust | ||||
|   commands: | ||||
|   - rustup default nightly | ||||
| - name: cargo build | ||||
|   image: rustlang/rust:nightly | ||||
|   volumes: | ||||
|   - name: cache | ||||
|     path: /usr/local/cargo | ||||
|   - name: target-cache | ||||
|     path: /drone/src/target | ||||
|   commands: | ||||
|   - cargo build  | ||||
|   - cargo build | ||||
| - name: cargo test | ||||
|   image: rustlang/rust:nightly | ||||
|   volumes: | ||||
|   - name: cache | ||||
|     path: /usr/local/cargo | ||||
|   - name: target-cache | ||||
|     path: /drone/src/target | ||||
|   commands: | ||||
|   - cargo test | ||||
| 
 | ||||
| volumes: | ||||
| - name: cache | ||||
|   host: | ||||
|     path: /home/drone/.cargo | ||||
| - name: target-cache | ||||
|   host: | ||||
|     path: /home/drone/cargo-cache | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user