;ci: github: windows: tweak caching
This commit is contained in:
		
							parent
							
								
									051fab84a2
								
							
						
					
					
						commit
						d19ea62297
					
				
							
								
								
									
										11
									
								
								.github/workflows/windows-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/windows-nightly.yml
									
									
									
									
										vendored
									
									
								
							| @ -66,7 +66,6 @@ jobs: | |||||||
| 
 | 
 | ||||||
|     # declare/restore cached things |     # declare/restore cached things | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|     - name: Cache stack global db   # downloaded ghcs, package indexes, third-party haskell deps |     - name: Cache stack global db   # downloaded ghcs, package indexes, third-party haskell deps | ||||||
|       uses: actions/cache@v1 |       uses: actions/cache@v1 | ||||||
|       with: |       with: | ||||||
| @ -130,7 +129,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|     - name: Install GHC |     - name: Install GHC | ||||||
|       run: | |       run: | | ||||||
|         stack --resolver=lts --no-terminal setup --install-ghc |         stack --no-terminal setup --install-ghc | ||||||
| 
 | 
 | ||||||
|     # - name: Install shelltestrunner |     # - name: Install shelltestrunner | ||||||
|     # - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi |     # - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi | ||||||
| @ -138,13 +137,13 @@ jobs: | |||||||
| 
 | 
 | ||||||
|     - name: Install haskell deps |     - name: Install haskell deps | ||||||
|       run: | |       run: | | ||||||
|         stack --resolver=lts --no-terminal build --test --only-dependencies |         stack --no-terminal build --test --only-dependencies | ||||||
|         #  --bench --install-ghc |       #  --bench --install-ghc | ||||||
| 
 | 
 | ||||||
|     - name: Build hledger |     - name: Build hledger | ||||||
|       run: | |       run: | | ||||||
|         stack --resolver=lts --no-terminal install --ghc-options=-Werror --test |         stack P--no-terminal install --ghc-options=-Werror --test | ||||||
|         #  --bench --no-run-benchmarks --haddock --no-haddock-deps |       #  --bench --no-run-benchmarks --haddock --no-haddock-deps | ||||||
| 
 | 
 | ||||||
|     # run hledger-lib/hledger functional tests, skipping the ones for addons |     # run hledger-lib/hledger functional tests, skipping the ones for addons | ||||||
|     #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons |     #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user