mirror of
				https://github.com/Qortal/pirate-librustzcash.git
				synced 2025-10-29 18:49:03 +00:00 
			
		
		
		
	Add a GitHub Actions workflow for Ubuntu and Windows
This commit is contained in:
		
							
								
								
									
										20
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | name: Rust | ||||||
|  |  | ||||||
|  | on: [push] | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   test: | ||||||
|  |     name: Test on ${{ matrix.os }} | ||||||
|  |     runs-on: ${{ matrix.os }} | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         os: [ubuntu-latest, windows-latest] | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v1 | ||||||
|  |     - name: Check formatting | ||||||
|  |       run: cargo fmt --all -- --check | ||||||
|  |     - name: Build | ||||||
|  |       run: cargo build --verbose --release --all | ||||||
|  |     - name: Run tests | ||||||
|  |       run: cargo test --verbose --release --all | ||||||
		Reference in New Issue
	
	Block a user