mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
Use ghcup to install GHC on linux and remove docs and profiling libs (#4043)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user