Skip to content

Commit 577948f

Browse files
jneiraAilrunpeterbecich
authored
Add ghc-8.10.7 support (haskell#2141)
* Add stack yaml for ghc-8.10.7 * support for ghc-8.10.7 * Use void as suggested by hlint * Remove duplicate build * Update extra-deps for ghc-8.10.7 Copied from haskell#2138 stack-8.10.6.yaml Co-authored-by: peterbecich <[email protected]> * allow newer ghc for ghc-api-compat-8.10.6 Co-authored-by: Junyoung "Clare" Jang <[email protected]> Co-authored-by: peterbecich <[email protected]>
1 parent 550fbd7 commit 577948f

File tree

4 files changed

+96
-4
lines changed

4 files changed

+96
-4
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ jobs:
9191
- STACK_FILE: "stack-8.10.6.yaml"
9292
<<: *defaults
9393

94+
ghc-8.10.7:
95+
environment:
96+
- STACK_FILE: "stack-8.10.7.yaml"
97+
<<: *defaults
98+
9499
ghc-9.0.1:
95100
environment:
96101
- STACK_FILE: "stack-9.0.1.yaml"
@@ -115,5 +120,6 @@ workflows:
115120
- ghc-8.10.4
116121
- ghc-8.10.5
117122
- ghc-8.10.6
123+
- ghc-8.10.7
118124
- ghc-9.0.1
119125
- ghc-default

.github/workflows/test.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
strategy:
3434
fail-fast: true
3535
matrix:
36-
ghc: ["9.0.1", '8.10.6', "8.10.5", "8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.6.5", "8.6.4"]
36+
ghc: ["9.0.1", '8.10.7', '8.10.6', "8.10.5", "8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.6.5", "8.6.4"]
3737
os: [ubuntu-latest, macOS-latest]
3838
include:
3939
# only test supported ghc major versions
4040
- os: ubuntu-latest
4141
ghc: '9.0.1'
4242
test: true
4343
- os: ubuntu-latest
44-
ghc: '8.10.6'
44+
ghc: '8.10.7'
4545
test: true
4646
- os: ubuntu-latest
4747
ghc: '8.8.4'
@@ -53,12 +53,14 @@ jobs:
5353
ghc: '9.0.1'
5454
test: true
5555
- os: windows-latest
56-
ghc: '8.10.6'
56+
ghc: '8.10.7'
5757
test: true
5858
- os: windows-latest
5959
ghc: '8.6.5'
6060
test: true
6161
# only build rest of supported ghc versions for windows
62+
- os: windows-latest
63+
ghc: '8.10.6'
6264
- os: windows-latest
6365
ghc: '8.10.5'
6466
- os: windows-latest

ghcide/ghcide.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description:
1313
A library for building Haskell IDE's on top of the GHC API.
1414
homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
1515
bug-reports: https://github.com/haskell/haskell-language-server/issues
16-
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4 || == 8.10.5 || == 8.10.6 || == 9.0.1
16+
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4 || == 8.10.5 || == 8.10.6 || == 8.10.7 || == 9.0.1
1717
extra-source-files: README.md CHANGELOG.md
1818
test/data/**/*.project
1919
test/data/**/*.cabal

stack-8.10.7.yaml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
resolver: lts-18.7
2+
compiler: ghc-8.10.7
3+
4+
packages:
5+
- .
6+
- ./hie-compat
7+
- ./hls-graph
8+
- ./ghcide/
9+
- ./hls-plugin-api
10+
- ./hls-test-utils
11+
# - ./shake-bench
12+
- ./plugins/hls-call-hierarchy-plugin
13+
- ./plugins/hls-class-plugin
14+
- ./plugins/hls-haddock-comments-plugin
15+
- ./plugins/hls-eval-plugin
16+
- ./plugins/hls-explicit-imports-plugin
17+
- ./plugins/hls-refine-imports-plugin
18+
- ./plugins/hls-hlint-plugin
19+
- ./plugins/hls-retrie-plugin
20+
- ./plugins/hls-splice-plugin
21+
- ./plugins/hls-tactics-plugin
22+
- ./plugins/hls-brittany-plugin
23+
- ./plugins/hls-stylish-haskell-plugin
24+
- ./plugins/hls-floskell-plugin
25+
- ./plugins/hls-fourmolu-plugin
26+
- ./plugins/hls-pragmas-plugin
27+
- ./plugins/hls-module-name-plugin
28+
- ./plugins/hls-ormolu-plugin
29+
30+
ghc-options:
31+
"$everything": -haddock
32+
33+
extra-deps:
34+
- brittany-0.13.1.2@sha256:9922614f1df18c63755a37c144033988788e0769fd9c2630b64ed0dfb49462bd,8197
35+
- bytestring-encoding-0.1.1.0@sha256:1c3b97eb6345fd7153006211c8272215cd78bb0cf440c41185290822f1e3f2c2,1738
36+
- data-tree-print-0.1.0.2@sha256:d845e99f322df70e0c06d6743bf80336f5918d5423498528beb0593a2afc1703,1620
37+
- floskell-0.10.5@sha256:77f0bc1569573d9666b10975a5357fef631d32266c071733739393ccae521dab,3803
38+
- ghc-api-compat-8.10.6@sha256:cde370b1b4c8a090de1ba6a8e27f65def9af43ca88710b412a6545b876568626,3324
39+
- heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417
40+
- hiedb-0.4.0.0@sha256:b6dadd5cefc8c1052bc4b29144f616ca9c22e863a96d8e447d66a4d32c96fd4a,2987
41+
- implicit-hie-0.1.2.6@sha256:f50a908979a574a881f753c0f9a5224f023f438b30fdefc5b7fa01803b07a280,2998
42+
- implicit-hie-cradle-0.3.0.5@sha256:5f5e575f549b2a9db664be7650b5c3c9226e313bddc46c79e2e83eb349f8e692,2610
43+
- lsp-1.2.0.1@sha256:5b37d26fcbf037434e257e953c08513d4cb125ed784d4611038905c72dc0f58c,5431
44+
- lsp-test-0.14.0.1@sha256:efce2ddec4183390341db7667e63936954c654a14d809ad7b61e4010a2fde97e,4739
45+
- lsp-types-1.3.0.1@sha256:1dc41eb358345c1927fb8f285e7d951869623fe5b695fbbecf2fe6a3cee9fcfd,4646
46+
- monad-dijkstra-0.1.1.3@sha256:d2fc098d7c122555e726830a12ae0423ac187f89de9228f32e56e2f6fc2238e1,1900
47+
- optparse-applicative-0.15.1.0@sha256:29ff6146aabf54d46c4c8788e8d1eadaea27c94f6d360c690c5f6c93dac4b07e,4810
48+
- refinery-0.4.0.0@sha256:fe3a43add8ff1db5cfffee7e7694c86128b1dfe62c541f26e25a8eadf9585610,1663
49+
- retrie-1.0.0.0@sha256:82014773115807f649f60fe4a3246911bbccd063a3c846cf5665e71f237bdd2d,4241
50+
- stylish-haskell-0.12.2.0@sha256:38f7fd9ca30c9aad34f176dae4564576899e9c197b6b8557b59c5e8c6a622c74,6108
51+
52+
# Enable these when supported by all formatters
53+
# - ghc-lib-9.0.1.20210324@sha256:c8b9a2541ea3424c8d0e4f80584477d0f35be03f4a47d931152042d5f446c5fc,19279
54+
# - ghc-lib-parser-9.0.1.20210324@sha256:fb680f78d4ab08b5d089a05bda3b84ad857e5edcc2e4ca7c188c0207d369af80
55+
# - ghc-lib-parser-ex-9.0.0.4@sha256:8282b11c3797fc8ba225b245e736cc9a0745d9c48d0f9fea7f9bffb5c9997709,3642
56+
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
57+
58+
# for ghc-api-compat-8.10.6
59+
allow-newer: true
60+
61+
configure-options:
62+
ghcide:
63+
- --disable-library-for-ghci
64+
haskell-language-server:
65+
- --disable-library-for-ghci
66+
heapsize:
67+
- --disable-library-for-ghci
68+
69+
flags:
70+
haskell-language-server:
71+
pedantic: true
72+
retrie:
73+
BuildExecutable: false
74+
# Stack doesn't support automatic flags.
75+
# Until the formatters support ghc-lib-9, we need this flag disabled
76+
hls-hlint-plugin:
77+
hlint33: false
78+
hyphenation:
79+
embed: true
80+
81+
nix:
82+
packages: [ icu libcxx zlib ]
83+
84+
concurrent-tests: false

0 commit comments

Comments
 (0)