Skip to content

Commit 1a869ad

Browse files
authored
Merge pull request #518 from jneira/ci-retry-win
Retry the build three times to workaround compiler segfaults for windows and ghc-8.10
2 parents 1be17d4 + 0fa74a4 commit 1a869ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
src/**/*.hs exe/*.hs
5656
5757
- name: Build
58-
run: cabal build
58+
# Retry it three times to workaround compiler segfaults in windows
59+
run: cabal build || cabal build || cabal build
5960
- name: Test
6061
env:
6162
HLS_TEST_EXE: hls

0 commit comments

Comments
 (0)