mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-08-15 19:40:25 +03:00
287ee42ab5
* Prepare release 2.9.0.0 * Bump 'bytestring' version for release CI test scripts The older 'bytestring-0.11.1.0' version doesn't compile with the recent GHC 9.10.1 release. Bump the version to '0.12.1.0' which can be successfully compiled on all supported GHC versions. * Update supported GHC version table * Move plugin ghc support conditionals into .cabal file Having them in the cabal.project file is a very neat way to enable/disable a plugin, but it negatively affects Hackage users as they can no longer trivially install HLS from Hackage. This discussion might be revisited in the future, but not during a release process. * Disable tests and benchmarks in release test pipeline On some platforms, building bytestring-0.12.1.0 is not fully supported yet. Hence, we disable tests and benchmarks, to allow building on the platform Windows with GHC 9.10.1. * Always show debug output in release test ci * Upgrade cabal version in the release pipeline * Switch to `text` for release test package --------- Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
packages:
|
|
./
|
|
./hie-compat
|
|
./shake-bench
|
|
./hls-graph
|
|
./ghcide
|
|
./hls-plugin-api
|
|
./hls-test-utils
|
|
|
|
index-state: 2024-06-13T17:12:34Z
|
|
|
|
tests: True
|
|
test-show-details: direct
|
|
|
|
write-ghc-environment-files: never
|
|
|
|
-- Many of our tests only work single-threaded, and the only way to
|
|
-- ensure tasty runs everything purely single-threaded is to pass
|
|
-- this at the top-level
|
|
test-options: -j1
|
|
|
|
-- Make sure dependencies are build with haddock so we get
|
|
-- haddock shown on hover
|
|
package *
|
|
ghc-options: -haddock
|
|
|
|
constraints:
|
|
-- C++ is hard to distribute, especially on older GHCs
|
|
-- See https://github.com/haskell/haskell-language-server/issues/3822
|
|
text -simdutf,
|
|
ghc-check -ghc-check-use-package-abis,
|
|
ghc-lib-parser-ex -auto,
|
|
-- This is only present in some versions, and it's on by default since
|
|
-- 0.14.5.0, but there are some versions we allow that need this
|
|
-- setting
|
|
stylish-haskell +ghc-lib,
|
|
-- Centos 7 comes with an old gcc version that doesn't know about
|
|
-- the flag '-fopen-simd', which blocked the release 2.2.0.0.
|
|
-- We want to be able to benefit from the performance optimisations
|
|
-- in the future, thus: TODO: remove this flag.
|
|
bitvec -simd,
|
|
|
|
|
|
|
|
if impl(ghc >= 9.9)
|
|
allow-newer:
|
|
haddock-library:base,
|
|
haddock-library:containers,
|
|
benchmarks: False
|
|
else
|
|
benchmarks: True
|