change pipeline to also run on forgejo, add note about move to README
This commit is contained in:
		
							parent
							
								
									c5cd8648ba
								
							
						
					
					
						commit
						2c6c854969
					
				
					 2 changed files with 32 additions and 20 deletions
				
			
		
							
								
								
									
										40
									
								
								.github/workflows/rust.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										40
									
								
								.github/workflows/rust.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -9,27 +9,37 @@ on: | |||
| env: | ||||
|   CARGO_TERM_COLOR: always | ||||
| 
 | ||||
|   # Make sure CI fails on all warnings, including Clippy lints | ||||
|   RUSTFLAGS: "-Dwarnings" | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4 | ||||
|       - uses: actions/checkout@v4 | ||||
| 
 | ||||
|     - name: install lzma | ||||
|       run: sudo apt-get update && sudo apt-get install -y liblzma-dev | ||||
|       - name: Update repos | ||||
|         run: sudo apt-get update -qq | ||||
|       - name: Install rust toolchain | ||||
|         run: sudo apt-get install -qy cargo rust-clippy | ||||
|       - name: install lzma | ||||
|         run: sudo apt-get update && sudo apt-get install -y liblzma-dev | ||||
| 
 | ||||
|     - name: build default features | ||||
|       run: cargo build --all --verbose | ||||
|     - name: build default features -- examples | ||||
|       run: cargo build --examples --verbose | ||||
|     - name: test default features | ||||
|       run: cargo test --all --verbose | ||||
|       - name: Run Clippy | ||||
|         run: cargo clippy --all-targets --all-features | ||||
|          | ||||
|       - name: build default features | ||||
|         run: cargo build --all --verbose | ||||
|       - name: build default features -- examples | ||||
|         run: cargo build --examples --verbose | ||||
|       - name: test default features | ||||
|         run: cargo test --all --verbose | ||||
| 
 | ||||
|     - name: build all features | ||||
|       run: cargo build --all-features --verbose | ||||
|     - name: build all features -- examples | ||||
|       run: cargo build --all-features --examples --verbose | ||||
|     - name: test all features | ||||
|       run: cargo test --all --all-features --verbose | ||||
|       - name: build all features | ||||
|         run: cargo build --all-features --verbose | ||||
|       - name: build all features -- examples | ||||
|         run: cargo build --all-features --examples --verbose | ||||
|       - name: test all features | ||||
|         run: cargo test --all --all-features --verbose | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter