ci: test-linux-x64: build packages separately to fail faster
This commit is contained in:
		
							parent
							
								
									79792b3368
								
							
						
					
					
						commit
						6fb3797e4c
					
				
							
								
								
									
										6
									
								
								.github/workflows/test-linux-x64.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/test-linux-x64.yml
									
									
									
									
										vendored
									
									
								
							| @ -227,12 +227,16 @@ jobs: | |||||||
|     #     # --pedantic --no-run-benchmarks |     #     # --pedantic --no-run-benchmarks | ||||||
|     #   if: env.CONTINUE |     #   if: env.CONTINUE | ||||||
| 
 | 
 | ||||||
|  |     # Packages are built one at a time to fail faster on error. | ||||||
|     # Note: doctests won't run if using GHC 9.0, see hledger-lib/package.yaml |     # Note: doctests won't run if using GHC 9.0, see hledger-lib/package.yaml | ||||||
|     - name: Build all hledger modules fast, warning free, run unit/doc/bench tests |     - name: Build all hledger modules fast, warning free, run unit/doc/bench tests | ||||||
|       env: |       env: | ||||||
|         stack: ${{ matrix.plan.stack }} |         stack: ${{ matrix.plan.stack }} | ||||||
|       run: | |       run: | | ||||||
|         $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror  --test --bench |         $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror  --test --bench hledger-lib | ||||||
|  |         $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror  --test --bench hledger | ||||||
|  |         $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror  --test --bench hledger-ui | ||||||
|  |         $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror  --test --bench hledger-web | ||||||
|         #  --ghc-options=-split-sections --no-terminal |         #  --ghc-options=-split-sections --no-terminal | ||||||
|       if: env.CONTINUE |       if: env.CONTINUE | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user