File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 95
95
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
96
96
src/**/*.hs exe/*.hs
97
97
98
- # repeating builds to workaround segfaults in windows and ghc-8.8.4
99
98
- name : Build
100
- run : cabal v2-build --enable-tests --enable-benchmarks --only-dependencies || cabal v2-build --enable-tests --enable-benchmarks --only-dependencies || cabal v2-build --enable-tests --enable-benchmarks --only-dependencies
99
+ run : cabal v2-build --enable-tests --enable-benchmarks --only-dependencies
100
+
101
+ # repeating builds to workaround segfaults in windows and ghc-8.8.4
102
+ - if : ${{ env.RUNNER_OS }} == 'Windows'
103
+ name : In Windows run build additional 2 times
104
+ run : cabal v2-build --enable-tests --enable-benchmarks --only-dependencies || cabal v2-build --enable-tests --enable-benchmarks --only-dependencies
Original file line number Diff line number Diff line change @@ -136,9 +136,13 @@ jobs:
136
136
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
137
137
src/**/*.hs exe/*.hs
138
138
139
- # repeating builds to workaround segfaults in windows and ghc-8.8.4
140
139
- name : Build
141
- run : cabal build || cabal build || cabal build
140
+ run : cabal v2-build
141
+
142
+ # repeating builds to workaround segfaults in windows and ghc-8.8.4
143
+ - if : ${{ env.RUNNER_OS }} == 'Windows'
144
+ name : In Windows run build additional 2 times
145
+ run : cabal v2-build || cabal v2-build
142
146
143
147
- name : Set test options
144
148
run : |
You can’t perform that action at this time.
0 commit comments