added ci
This commit is contained in:
		
							parent
							
								
									ef57daadb5
								
							
						
					
					
						commit
						fbbe272adb
					
				
							
								
								
									
										27
									
								
								.github/workflows/echo-rs-ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/echo-rs-ci.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | |||||||
|  | name: echo-rs CI | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - master | ||||||
|  |   pull_request: | ||||||
|  |     branches: | ||||||
|  |       - master | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |       - name: Set up echo-rs | ||||||
|  |         uses: actions/checkout@v2 | ||||||
|  |       - name: Install cargo-audit | ||||||
|  |         run: cargo install cargo-audit | ||||||
|  |       - name: Build | ||||||
|  |         run: cargo build --verbose | ||||||
|  |       - name: test | ||||||
|  |         run: python3 gnu_echo_tests/test.py -e /bin/echo -b target/debug/echo-rs | ||||||
|  |       - name: Clippy | ||||||
|  |         run: cargo clippy --verbose -- -D warnings | ||||||
|  |       - name: Audit | ||||||
|  |         run: cargo audit | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user