File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 21
21
exclude :
22
22
- os : windows-latest
23
23
ghc : ' 8.10.2' # broken due to https://gitlab.haskell.org/ghc/ghc/-/issues/18550
24
- - os : windows-latest
25
- ghc : ' 8.8.4' # also fails due to segfault :(
26
24
- os : windows-latest
27
25
ghc : ' 8.8.3' # fails due to segfault
28
26
include :
81
79
echo "# uninstalling CommandLineTools (see https://github.com/haskell/haskell-language-server/issues/1913#issuecomment-861667786)"
82
80
sudo rm -rf /Library/Developer/CommandLineTools
83
81
82
+ - name : Modify cabal.project to workaround segfaults for ghc-8.8.4 and windows
83
+ if : matrix.ghc == '8.8.4' && matrix.os == 'windows-latest'
84
+ run : |
85
+ echo "package floskell" >> cabal.project
86
+ echo " ghc-options: -O0" >> cabal.project
87
+
84
88
- name : Build Server
85
89
# Try building it twice in case of flakey builds on Windows
86
90
run : |
Original file line number Diff line number Diff line change @@ -67,10 +67,12 @@ jobs:
67
67
ghc : ' 8.10.4'
68
68
- os : windows-latest
69
69
ghc : ' 8.10.3'
70
+ - os : windows-latest
71
+ ghc : ' 8.8.4'
70
72
# These builds get stuck frequently
71
73
# - os: windows-latest
72
74
# ghc: '8.10.2.2'
73
-
75
+
74
76
# - os: windows-latest
75
77
# ghc: '8.6.4'
76
78
@@ -101,7 +103,7 @@ jobs:
101
103
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
102
104
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
103
105
104
- - name : Tentative Workaround for GHC 8.10.5 on macOS
106
+ - name : Workaround for GHC 8.10.5 on macOS
105
107
if : matrix.os == 'macOS-latest' && matrix.ghc == '8.10.5'
106
108
run : |
107
109
echo "# uninstalling CommandLineTools (see https://github.com/haskell/haskell-language-server/issues/1913#issuecomment-861667786)"
@@ -112,6 +114,12 @@ jobs:
112
114
name : Use modified cabal.project for ghc9
113
115
run : cp cabal-ghc901.project cabal.project
114
116
117
+ - if : ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.ghc == '8.8.4' && matrix.os == 'windows-latest' }}
118
+ name : Modify cabal.project to workaround segfaults for ghc-8.8.4 and windows
119
+ run : |
120
+ echo "package floskell" >> cabal.project
121
+ echo " ghc-options: -O0" >> cabal.project
122
+
115
123
- if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
116
124
name : Cache Cabal
117
125
uses : actions/cache@v2
You can’t perform that action at this time.
0 commit comments