ci: github: tweaks
This commit is contained in:
		
							parent
							
								
									23f8462d47
								
							
						
					
					
						commit
						4e96639b81
					
				
							
								
								
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -100,17 +100,22 @@ jobs: | |||||||
| 
 | 
 | ||||||
|     - name: Install stack (ubuntu) |     - name: Install stack (ubuntu) | ||||||
|       if: matrix.os == 'ubuntu-latest' |       if: matrix.os == 'ubuntu-latest' | ||||||
|  |       # preinstalled | ||||||
|  |       # curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C $INSTALLDIR '*/stack' | ||||||
|       run: | |       run: | | ||||||
|         stack --version |         stack --version | ||||||
|  | 
 | ||||||
|     - name: Install stack (mac) |     - name: Install stack (mac) | ||||||
|       if: matrix.os == 'macos-latest' |       if: matrix.os == 'macos-latest' | ||||||
|  |       # curl --insecure -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C $INSTALLDIR | ||||||
|       run: | |       run: | | ||||||
|         brew install haskell-stack |         brew install haskell-stack | ||||||
|         stack --version |         stack --version | ||||||
|  | 
 | ||||||
|     - name: Install stack (windows) |     - name: Install stack (windows) | ||||||
|       if: matrix.os == 'windows-latest' |       if: matrix.os == 'windows-latest' | ||||||
|       run: | |       run: | | ||||||
|         PowerShell.exe -Command "&{Invoke-WebRequest -OutFile ${installdir}\\stack.zip https://get.haskellstack.org/stable/windows-x86_64.zip ; 7z e ${installdir}\\stack.zip -o${installdir} stack.exe ; Remove-Item ${installdir}\\stack.zip} |         PowerShell.exe -Command "&{Invoke-WebRequest -OutFile ${installdir}\\stack.zip https://get.haskellstack.org/stable/windows-x86_64.zip ; 7z e ${installdir}\\stack.zip -o${installdir} stack.exe ; Remove-Item ${installdir}\\stack.zip}" | ||||||
|         # curl -skL -o stack.zip http://www.stackage.org/stack/windows-x86_64 |         # curl -skL -o stack.zip http://www.stackage.org/stack/windows-x86_64 | ||||||
|         # 7z x stack.zip stack.exe |         # 7z x stack.zip stack.exe | ||||||
|         stack --version |         stack --version | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user