Skip to content

Commit aa686b3

Browse files
committed
Add GHC 8.10.5
1 parent 1163ae7 commit aa686b3

File tree

7 files changed

+99
-11
lines changed

7 files changed

+99
-11
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
- STACK_FILE: "stack-8.10.4.yaml"
104104
<<: *defaults
105105

106+
ghc-8.10.5:
107+
environment:
108+
- STACK_FILE: "stack-8.10.5.yaml"
109+
<<: *defaults
110+
106111
ghc-default:
107112
environment:
108113
- STACK_FILE: "stack.yaml"
@@ -121,4 +126,5 @@ workflows:
121126
- ghc-8.10.2
122127
- ghc-8.10.3
123128
- ghc-8.10.4
129+
- ghc-8.10.5
124130
- ghc-default

.github/workflows/bench.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
ghc: ['8.10.4']
27+
ghc: ['8.10.5']
2828
os: [ubuntu-latest]
2929

3030
steps:
@@ -106,7 +106,7 @@ jobs:
106106
strategy:
107107
fail-fast: false
108108
matrix:
109-
ghc: ['8.10.4']
109+
ghc: ['8.10.5']
110110
os: [ubuntu-latest]
111111
example: ['Cabal-3.0.0.0', 'lsp-types-1.0.0.1']
112112

.github/workflows/build.yml

+5-5
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.4', '8.10.3', '8.10.2', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
19+
ghc: ['8.10.5', '8.10.4', '8.10.3', '8.10.2', '8.8.4', '8.8.3', '8.8.2', '8.6.5', '8.6.4']
2020
os: [ubuntu-18.04, macOS-latest, windows-latest]
2121
exclude:
2222
- os: windows-latest
@@ -113,11 +113,11 @@ jobs:
113113
path: ${{ steps.compress_server_binary.outputs.path }}
114114

115115
- name: Build Wrapper
116-
if: matrix.ghc == '8.10.4'
116+
if: matrix.ghc == '8.10.5'
117117
run: cabal build exe:hls-wrapper -O2 $LINUX_CABAL_ARGS
118118

119119
- name: Compress Wrapper Binary
120-
if: matrix.ghc == '8.10.4'
120+
if: matrix.ghc == '8.10.5'
121121
id: compress_wrapper_binary
122122
run: |
123123
HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f)
@@ -136,7 +136,7 @@ jobs:
136136
fi
137137
138138
- name: Upload Wrapper
139-
if: matrix.ghc == '8.10.4'
139+
if: matrix.ghc == '8.10.5'
140140
uses: actions/upload-release-asset@v1.0.2
141141
env:
142142
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -147,7 +147,7 @@ jobs:
147147
asset_content_type: ${{ steps.compress_wrapper_binary.outputs.content_type}}
148148

149149
- uses: actions/upload-artifact@v2
150-
if: matrix.ghc == '8.10.4'
150+
if: matrix.ghc == '8.10.5'
151151
with:
152152
name: haskell-language-server-wrapper-${{ runner.OS }}${{env.EXE_EXT}}.${{ steps.compress_wrapper_binary.outputs.extension }}
153153
path: ${{ steps.compress_wrapper_binary.outputs.path }}

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
strategy:
3434
fail-fast: true
3535
matrix:
36-
ghc: ["8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.8.2", "8.6.5", "8.6.4"]
36+
ghc: ["8.10.5", "8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.8.2", "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
41-
ghc: '8.10.4'
41+
ghc: '8.10.5'
4242
test: true
4343
- os: windows-latest
44-
ghc: '8.10.4'
44+
ghc: '8.10.5'
4545
test: true
4646
- os: ubuntu-latest
4747
ghc: '8.8.4'

flake.nix

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
pkgs.haskellPackages.ghc.version);
168168
ghc884 = pkgs.hlsHpkgs "ghc884";
169169
ghc8104 = pkgs.hlsHpkgs "ghc8104";
170+
ghc8105 = pkgs.hlsHpkgs "ghc8105";
170171
ghc901 = pkgs.hlsHpkgs "ghc901";
171172

172173
# Create a development shell of hls project
@@ -216,12 +217,14 @@
216217
haskell-language-server-dev = mkDevShell ghcDefault;
217218
haskell-language-server-884-dev = mkDevShell ghc884;
218219
haskell-language-server-8104-dev = mkDevShell ghc8104;
220+
haskell-language-server-8105-dev = mkDevShell ghc8105;
219221
haskell-language-server-901-dev = mkDevShell ghc901;
220222

221223
# hls package
222224
haskell-language-server = mkExe ghcDefault;
223225
haskell-language-server-884 = mkExe ghc884;
224226
haskell-language-server-8104 = mkExe ghc8104;
227+
haskell-language-server-8105 = mkExe ghc8105;
225228
haskell-language-server-901 = mkExe ghc901;
226229
};
227230

haskell-language-server.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ copyright: The Haskell IDE Team
1414
license: Apache-2.0
1515
license-file: LICENSE
1616
build-type: Simple
17-
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.2 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4
17+
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.2 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4 || == 8.10.5
1818
extra-source-files:
1919
README.md
2020
ChangeLog.md

stack-8.10.5.yaml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Fixme once GHC-8.10.5 LTS is out
2+
resolver: nightly-2021-06-01
3+
compiler: ghc-8.10.5
4+
5+
packages:
6+
- .
7+
- ./hie-compat
8+
- ./hls-graph
9+
- ./ghcide/
10+
- ./hls-plugin-api
11+
- ./hls-test-utils
12+
# - ./shake-bench
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+
- apply-refact-0.9.3.0
35+
- brittany-0.13.1.2
36+
- Cabal-3.0.2.0
37+
- clock-0.7.2
38+
- data-tree-print-0.1.0.2@rev:2
39+
- floskell-0.10.4
40+
- fourmolu-0.3.0.0
41+
- heapsize-0.3.0
42+
- implicit-hie-cradle-0.3.0.2
43+
- implicit-hie-0.1.2.5
44+
- monad-dijkstra-0.1.1.2
45+
- refinery-0.3.0.0
46+
- retrie-0.1.1.1
47+
- stylish-haskell-0.12.2.0
48+
- semigroups-0.18.5
49+
- temporary-1.2.1.1
50+
- bytestring-encoding-0.1.0.0@sha256:460b49779fbf0112e8e2f1753c1ed9131eb18827600c298f4d6bb51c4e8c1c0d,1727
51+
- hiedb-0.3.0.1
52+
- lsp-1.2.0.0
53+
- lsp-types-1.2.0.0
54+
- lsp-test-0.14.0.0
55+
- dependent-map-0.4.0.0@sha256:ca2b131046f4340a1c35d138c5a003fe4a5be96b14efc26291ed35fd08c62221,1657
56+
- dependent-sum-0.7.1.0@sha256:5599aa89637db434431b1dd3fa7c34bc3d565ee44f0519bfbc877be1927c2531,2068
57+
- dependent-sum-template-0.1.0.3@sha256:0bbbacdfbd3abf2a15aaf0cf2c27e5bdd159b519441fec39e1e6f2f54424adde,1682
58+
- constraints-extras-0.3.0.2@sha256:013b8d0392582c6ca068e226718a4fe8be8e22321cc0634f6115505bf377ad26,1853
59+
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
60+
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
61+
62+
configure-options:
63+
ghcide:
64+
- --disable-library-for-ghci
65+
haskell-language-server:
66+
- --disable-library-for-ghci
67+
heapsize:
68+
- --disable-library-for-ghci
69+
70+
flags:
71+
haskell-language-server:
72+
pedantic: true
73+
retrie:
74+
BuildExecutable: false
75+
76+
nix:
77+
packages: [ icu libcxx zlib ]
78+
79+
concurrent-tests: false

0 commit comments

Comments
 (0)