;ci: github: linux: separate haddock, make it a bit faster/quieter
This commit is contained in:
		
							parent
							
								
									8863ac5fdf
								
							
						
					
					
						commit
						b69d5b6799
					
				
							
								
								
									
										20
									
								
								.github/workflows/linux-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/linux-nightly.yml
									
									
									
									
										vendored
									
									
								
							| @ -180,22 +180,24 @@ jobs: | |||||||
|       env: |       env: | ||||||
|         ARGS: ${{ matrix.plan.resolver }} |         ARGS: ${{ matrix.plan.resolver }} | ||||||
| 
 | 
 | ||||||
|     - name: Build, unittest, doctest, haddocktest hledger |     - name: Build hledger and test unit tests, doc tests | ||||||
|       run: | |       run: | | ||||||
|         stack $ARGS build --ghc-options=-Werror --test --bench --haddock --no-haddock-deps |         stack $ARGS build --ghc-options=-Werror --test --bench | ||||||
|         #  --no-terminal  #  --no-run-benchmarks |         #  --no-terminal  #  --no-run-benchmarks | ||||||
|       env: |       env: | ||||||
|         ARGS: ${{ matrix.plan.resolver }} |         ARGS: ${{ matrix.plan.resolver }} | ||||||
| 
 | 
 | ||||||
|     - name: Functional tests (excluding addons) |     - name: Test functional tests (excluding addons) | ||||||
|       run: | |       run: | | ||||||
|         export PATH=~/.local/bin:$PATH |  | ||||||
|         COLUMNS=80 stack $ARGS exec -- shelltest --execdir -j16 tests -x /bin -x /addons |         COLUMNS=80 stack $ARGS exec -- shelltest --execdir -j16 tests -x /bin -x /addons | ||||||
|       env: |       env: | ||||||
|         ARGS: ${{ matrix.plan.resolver }} |         ARGS: ${{ matrix.plan.resolver }} | ||||||
| 
 | 
 | ||||||
| # - name: Configure |     - name: Test haddock generation | ||||||
| #   if: startsWith(matrix.name, 'linux') |       shell: bash | ||||||
| #   run: | |       run: | | ||||||
| #     export PATH=/usr/local/bin:$PATH |         time stack $ARGS build --haddock --no-haddock-deps --no-haddock-hyperlink-source --haddock-arguments="--no-print-missing-docs" | ||||||
| #     cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug ... |       # --no-haddock-hyperlink-source is 25% faster | ||||||
|  |       # --no-print-missing-docs is 600% quieter | ||||||
|  |       env: | ||||||
|  |         ARGS: ${{ matrix.plan.resolver }} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user