Use ghcup to install GHC on linux and remove docs and profiling libs (#4043)

This commit is contained in:
Julian Ospald
2021-09-10 15:17:15 +02:00
committed by GitHub
parent a9ac553edd
commit ee69b89103
3 changed files with 21 additions and 27 deletions

View File

@@ -1,8 +1,7 @@
Describe "Haskell" {
$GHCCommonPath = "/opt/ghc"
$GHCCommonPath = "/usr/local/.ghcup/ghc"
$GHCVersions = Get-ChildItem -Path $GHCCommonPath | Where-Object { $_.Name -match "\d+\.\d+" }
$testCase = @{ GHCVersions = $GHCVersions }
It "GHC directory contains two version of GHC" -TestCases $testCase {
@@ -32,4 +31,4 @@ Describe "Haskell" {
It "Stack" {
"stack --version" | Should -ReturnZeroExitCode
}
}
}