no longer disable -dynamic builds (#2885)

This commit is contained in:
Pepe Iborra 2022-05-05 23:53:42 +01:00 committed by GitHub
parent 8cbefb71bc
commit b6d87c564d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,17 +63,6 @@ runs:
fi
shell: bash
# The default build for haskell-language-server executable is dynamic for linux and macOS
# to get a executable which works for Template Haskell
# However we continue providing full static executables in releases so we have to disable it
# *for all workflows*, including test, flags and release builds
# It has to be in cabal.project to include `-dynamic` in the cabal.project.freeze
# used to compute the cache key
- name: Disable -dynamic
run: |
echo -e "package haskell-language-server\n flags: -dynamic" >> cabal.project
shell: bash
- if: inputs.os == 'Windows' && inputs.ghc == '8.8.4'
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults
run: |