Skip to content

Commit

Permalink
Try fix windows build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
supermario committed Apr 29, 2024
1 parent e6022ea commit 1ea02fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-windows-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ jobs:
# Use a retry action because inexplicably sometimes stack install stalls
# indefinitely after the `compiling Main` step, but then succeeds immediately
# with a second stack install. 🤷🏻‍♂️
- uses: nick-fields/retry@v2
- uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 4
# https://gitlab.haskell.org/ghc/ghc/-/issues/20878
# https://gitlab.haskell.org/ghc/ghc/-/issues/20010#note_359766
command: stack install --ghc-options '-optl"-Wl,-Bstatic,-lstdc++,-lgcc_s,-lwinpthread,-Bdynamic"'
command: Remove-Item -Path "reactor/elm-stuff" -Recurse -Force -ErrorAction SilentlyContinue; if ($?) { stack install --ghc-options '-optl"-Wl,-Bstatic,-lstdc++,-lgcc_s,-lwinpthread,-Bdynamic"' }

- name: Copy binary files, dlls & check
run: |
Expand Down

0 comments on commit 1ea02fb

Please sign in to comment.