File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ download_cabal_cache "$HOME/.local/bin/cabal-cache"
22
22
ghcup install ghc " ${GHC_VERSION} "
23
23
ghcup set ghc " ${GHC_VERSION} "
24
24
(cd .. && ecabal update) # run cabal update outside project dir
25
+ ecabal user-config diff
26
+ ecabal user-config init -f
25
27
" ghc-${GHC_VERSION} " --info
26
28
" ghc" --info
27
29
@@ -30,6 +32,10 @@ mkdir -p "$CI_PROJECT_DIR/out/plan.json"
30
32
31
33
case " $( uname) " in
32
34
MSYS_* |MINGW* )
35
+ # cat "C:\Users\runneradmin\AppData\Roaming\cabal\config"
36
+ # sed -ic "/extra-include-dirs/d" "C:\Users\runneradmin\AppData\Roaming\cabal\config"
37
+ # sed -ic "/extra-lib-dirs/d" "C:\Users\runneradmin\AppData\Roaming\cabal\config"
38
+ cat " C:\Users\runneradmin\AppData\Roaming\cabal\config"
33
39
args=( -O2 -w " ghc-$GHC_VERSION " --project-file cabal.project --disable-profiling --disable-tests --enable-executable-stripping ${ADD_CABAL_ARGS} )
34
40
35
41
# Shorten binary names
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ test_all_hls() {
38
38
bin_noexe=${bin/ .exe/ }
39
39
if ! [[ " ${bin_noexe} " =~ " haskell-language-server-wrapper" ]] && ! [[ " ${bin_noexe} " =~ " ~" ]] ; then
40
40
if ghcup install ghc --set " ${bin_noexe/ haskell-language-server-/ } " ; then
41
- ecabal update
42
41
" ${hls} " typecheck " ${test_module} " || fail " failed to typecheck with HLS for GHC ${bin_noexe/ haskell-language-server-/ } "
43
42
else
44
43
fail " GHCup failed to install GHC ${bin_noexe/ haskell-language-server-/ } "
55
54
56
55
# ensure ghcup
57
56
install_ghcup
57
+ ghcup install ghc --set 9.4.4
58
+
59
+ ecabal update
58
60
59
61
# unpack
60
62
TARBALL_PREFIX=" haskell-language-server"
You can’t perform that action at this time.
0 commit comments