Skip to content

Commit 4d33fd1

Browse files
authored
Merge pull request #721 from jneira/mergepocalypse-8.10.3
Add ghc-8.10.3 support after merging ghcide repo
2 parents 9649165 + 4c2c8f4 commit 4d33fd1

File tree

12 files changed

+95
-37
lines changed

12 files changed

+95
-37
lines changed

.circleci/config.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,22 @@ jobs:
137137
- STACK_FILE: "stack-8.10.2.yaml"
138138
<<: *defaults
139139

140-
ghc-nightly:
140+
ghc-8.10.3:
141+
environment:
142+
- STACK_FILE: "stack-8.10.3.yaml"
143+
<<: *defaults
144+
145+
ghc-default:
141146
environment:
142147
- STACK_FILE: "stack.yaml"
143148
<<: *defaults
144149

145150
cabal:
146151
working_directory: ~/build
147152
docker:
148-
- image: haskell:8.10.1
153+
# We have to wait to a docker image with ghc-8.10.3
154+
# See https://github.com/haskell/docker-haskell/issues/31
155+
- image: haskell:8.10.2
149156
steps:
150157
- checkout
151158
- run:
@@ -191,5 +198,6 @@ workflows:
191198
- ghc-8.8.4
192199
- ghc-8.10.1
193200
- ghc-8.10.2
194-
# - ghc-nightly
201+
- ghc-8.10.3
202+
- ghc-default
195203
- cabal

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
ghc: ['8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
19+
ghc: ['8.10.3', '8.10.2', '8.10.1', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
2020
os: [ubuntu-latest, macOS-latest, windows-latest]
2121
exclude:
2222
- os: windows-latest

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: true
99
matrix:
10-
ghc: ["8.10.2", "8.10.1", "8.8.4", "8.8.3", "8.8.2", "8.6.5", "8.6.4"]
10+
ghc: ['8.10.3', "8.10.2", "8.10.1", "8.8.4", "8.8.3", "8.8.2", "8.6.5", "8.6.4"]
1111
os: [ubuntu-latest, windows-latest]
1212
exclude:
1313
- os: windows-latest

stack-8.10.1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ extra-deps:
2323
- data-tree-print-0.1.0.2@rev:2
2424
- floskell-0.10.4
2525
- fourmolu-0.3.0.0
26-
- ghc-lib-8.10.2.20200916
27-
- ghc-lib-parser-8.10.2.20200916
26+
- ghc-lib-8.10.3.20201220
27+
- ghc-lib-parser-8.10.3.20201220
2828
- heapsize-0.3.0
2929
- hie-bios-0.7.1
3030
- hlint-3.2.3

stack-8.10.2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ extra-deps:
2323
- data-tree-print-0.1.0.2@rev:2
2424
- floskell-0.10.4
2525
- fourmolu-0.3.0.0
26+
- ghc-lib-8.10.3.20201220
27+
- ghc-lib-parser-8.10.3.20201220
2628
- heapsize-0.3.0
2729
- implicit-hie-cradle-0.3.0.2
2830
- implicit-hie-0.1.2.5

stack-8.10.3.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
resolver: nightly-2021-01-01 # first ghc-8.10.3 nightly
2+
3+
packages:
4+
- .
5+
- ./hie-compat
6+
- ./ghcide/
7+
- ./hls-plugin-api
8+
# - ./shake-bench
9+
- ./plugins/hls-class-plugin
10+
- ./plugins/hls-eval-plugin
11+
- ./plugins/hls-explicit-imports-plugin
12+
- ./plugins/hls-hlint-plugin
13+
- ./plugins/hls-retrie-plugin
14+
- ./plugins/tactics
15+
16+
ghc-options:
17+
"$everything": -haddock
18+
19+
extra-deps:
20+
- brittany-0.13.1.0
21+
- Cabal-3.0.2.0
22+
- clock-0.7.2
23+
- data-tree-print-0.1.0.2@rev:2
24+
- floskell-0.10.4
25+
- fourmolu-0.3.0.0
26+
- heapsize-0.3.0
27+
- implicit-hie-cradle-0.3.0.2
28+
- implicit-hie-0.1.2.5
29+
- lsp-test-0.11.0.6
30+
- monad-dijkstra-0.1.1.2
31+
- refinery-0.3.0.0
32+
- retrie-0.1.1.1
33+
- stylish-haskell-0.12.2.0
34+
- semigroups-0.18.5
35+
- temporary-1.2.1.1
36+
37+
configure-options:
38+
ghcide:
39+
- --disable-library-for-ghci
40+
haskell-language-server:
41+
- --disable-library-for-ghci
42+
heapsize:
43+
- --disable-library-for-ghci
44+
45+
flags:
46+
haskell-language-server:
47+
pedantic: true
48+
retrie:
49+
BuildExecutable: false
50+
51+
nix:
52+
packages: [ icu libcxx zlib ]
53+
54+
concurrent-tests: false

stack-8.6.4.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ extra-deps:
3636
- ghc-check-0.5.0.1
3737
- ghc-events-0.13.0
3838
- ghc-exactprint-0.6.3.2
39-
- ghc-lib-8.10.2.20200916
40-
- ghc-lib-parser-8.10.2.20200916
41-
- ghc-lib-parser-ex-8.10.0.16
39+
- ghc-lib-8.10.3.20201220
40+
- ghc-lib-parser-8.10.3.20201220
41+
- ghc-lib-parser-ex-8.10.0.17
4242
- ghc-source-gen-0.4.0.0
4343
- ghc-trace-events-0.1.2.1
4444
- haddock-api-2.22.0@rev:1
@@ -70,8 +70,6 @@ extra-deps:
7070
- regex-tdfa-1.3.1.0
7171
- retrie-0.1.1.1
7272
- semialign-1.1
73-
# - github: wz1000/shake
74-
# commit: fb3859dca2e54d1bbb2c873e68ed225fa179fbef
7573
- stylish-haskell-0.12.2.0
7674
- tasty-rerun-1.1.17
7775
- temporary-1.2.1.1

stack-8.6.5.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ extra-deps:
3535
- ghc-check-0.5.0.1
3636
- ghc-events-0.13.0
3737
- ghc-exactprint-0.6.3.2
38-
- ghc-lib-8.10.2.20200916
39-
- ghc-lib-parser-8.10.2.20200916
40-
- ghc-lib-parser-ex-8.10.0.16
38+
- ghc-lib-8.10.3.20201220
39+
- ghc-lib-parser-8.10.3.20201220
40+
- ghc-lib-parser-ex-8.10.0.17
4141
- ghc-source-gen-0.4.0.0
4242
- ghc-trace-events-0.1.2.1
4343
- haddock-api-2.22.0@rev:1
@@ -69,8 +69,6 @@ extra-deps:
6969
- regex-tdfa-1.3.1.0
7070
- retrie-0.1.1.1
7171
- semialign-1.1
72-
# - github: wz1000/shake
73-
# commit: fb3859dca2e54d1bbb2c873e68ed225fa179fbef
7472
- stylish-haskell-0.12.2.0
7573
- tasty-rerun-1.1.17
7674
- temporary-1.2.1.1

stack-8.8.2.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ extra-deps:
3131
- ghc-check-0.5.0.1
3232
- ghc-events-0.13.0
3333
- ghc-exactprint-0.6.3.2
34-
- ghc-lib-8.10.2.20200916
35-
- ghc-lib-parser-8.10.2.20200916
36-
- ghc-lib-parser-ex-8.10.0.16
34+
- ghc-lib-8.10.3.20201220
35+
- ghc-lib-parser-8.10.3.20201220
36+
- ghc-lib-parser-ex-8.10.0.17
3737
- ghc-trace-events-0.1.2.1
3838
- haddock-library-1.8.0
3939
- haskell-lsp-0.22.0.0
@@ -57,8 +57,6 @@ extra-deps:
5757
- refinery-0.3.0.0
5858
- retrie-0.1.1.1
5959
- semigroups-0.18.5
60-
# - github: wz1000/shake
61-
# commit: fb3859dca2e54d1bbb2c873e68ed225fa179fbef
6260
- stylish-haskell-0.12.2.0
6361
- temporary-1.2.1.1
6462
- these-1.1.1.1

stack-8.8.3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ extra-deps:
2929
- fourmolu-0.3.0.0
3030
# - ghcide-0.6.0
3131
- ghc-exactprint-0.6.3.2
32-
- ghc-lib-8.10.2.20200916
33-
- ghc-lib-parser-8.10.2.20200916
32+
- ghc-lib-8.10.3.20201220
33+
- ghc-lib-parser-8.10.3.20201220
3434
- ghc-trace-events-0.1.2.1
3535
- haskell-src-exts-1.21.1
3636
- heapsize-0.3.0

stack-8.8.4.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ extra-deps:
2828
- fourmolu-0.3.0.0
2929
# - ghcide-0.6.0
3030
- ghc-exactprint-0.6.3.2
31+
- ghc-lib-8.10.3.20201220
32+
- ghc-lib-parser-8.10.3.20201220
3133
- ghc-trace-events-0.1.2.1
3234
- haskell-src-exts-1.21.1
3335
- heapsize-0.3.0

stack.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ resolver: lts-14.27 # Last 8.6.5
33
packages:
44
- .
55
- ./hie-compat
6-
- ./ghcide
7-
- ./shake-bench
6+
- ./ghcide/
87
- ./hls-plugin-api
8+
# - ./shake-bench
99
- ./plugins/hls-class-plugin
1010
- ./plugins/hls-eval-plugin
1111
- ./plugins/hls-explicit-imports-plugin
@@ -35,9 +35,9 @@ extra-deps:
3535
- ghc-check-0.5.0.1
3636
- ghc-events-0.13.0
3737
- ghc-exactprint-0.6.3.2
38-
- ghc-lib-8.10.2.20200916
39-
- ghc-lib-parser-8.10.2.20200916
40-
- ghc-lib-parser-ex-8.10.0.16
38+
- ghc-lib-8.10.3.20201220
39+
- ghc-lib-parser-8.10.3.20201220
40+
- ghc-lib-parser-ex-8.10.0.17
4141
- ghc-source-gen-0.4.0.0
4242
- ghc-trace-events-0.1.2.1
4343
- haddock-api-2.22.0@rev:1
@@ -69,8 +69,6 @@ extra-deps:
6969
- regex-tdfa-1.3.1.0
7070
- retrie-0.1.1.1
7171
- semialign-1.1
72-
# - github: wz1000/shake
73-
# commit: fb3859dca2e54d1bbb2c873e68ed225fa179fbef
7472
- stylish-haskell-0.12.2.0
7573
- tasty-rerun-1.1.17
7674
- temporary-1.2.1.1
@@ -80,12 +78,6 @@ extra-deps:
8078
- with-utf8-1.0.2.1@sha256:95c02fffa643ddbeb092359802a512007c3e644cd509809f4716ad54592c437b,3057
8179
- th-env-0.1.0.2@sha256:d8f1f37f42a8f1a22404d7d0579528af18f5dac7232cca6bdbd5117c115a0ad5,1370
8280

83-
flags:
84-
haskell-language-server:
85-
pedantic: true
86-
retrie:
87-
BuildExecutable: false
88-
8981
configure-options:
9082
ghcide:
9183
- --disable-library-for-ghci
@@ -94,6 +86,12 @@ configure-options:
9486
heapsize:
9587
- --disable-library-for-ghci
9688

89+
flags:
90+
haskell-language-server:
91+
pedantic: true
92+
retrie:
93+
BuildExecutable: false
94+
9795
# allow-newer: true
9896

9997
nix:

0 commit comments

Comments
 (0)