Skip to content

Commit 2dcf2c6

Browse files
authored
Merge pull request #1331 from jneira/ghc-8.10.4
Add support for ghc-8.10.4 and drop it for ghc-8.10.1
2 parents 691d821 + 2d956cd commit 2dcf2c6

20 files changed

+51
-159
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ jobs:
9696
- STACK_FILE: "stack-8.8.4.yaml"
9797
<<: *defaults
9898

99-
ghc-8.10.1:
100-
environment:
101-
- STACK_FILE: "stack-8.10.1.yaml"
102-
<<: *defaults
103-
10499
ghc-8.10.2:
105100
environment:
106101
- STACK_FILE: "stack-8.10.2.yaml"
@@ -111,6 +106,11 @@ jobs:
111106
- STACK_FILE: "stack-8.10.3.yaml"
112107
<<: *defaults
113108

109+
ghc-8.10.4:
110+
environment:
111+
- STACK_FILE: "stack-8.10.4.yaml"
112+
<<: *defaults
113+
114114
ghc-default:
115115
environment:
116116
- STACK_FILE: "stack.yaml"
@@ -126,7 +126,7 @@ workflows:
126126
- ghc-8.8.2
127127
- ghc-8.8.3
128128
- ghc-8.8.4
129-
- ghc-8.10.1
130129
- ghc-8.10.2
131130
- ghc-8.10.3
131+
- ghc-8.10.4
132132
- ghc-default

.github/mergify.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ pull_request_rules:
55
method: squash
66
name: Automatically merge pull requests
77
conditions:
8-
- status-success=bench-example (8.10.3, ubuntu-latest, Cabal-3.0.0.0)
9-
- status-success=bench-example (8.10.3, ubuntu-latest, lsp-types-1.0.0.1)
8+
- status-success=bench-example (8.10.4, ubuntu-latest, Cabal-3.0.0.0)
9+
- status-success=bench-example (8.10.4, ubuntu-latest, lsp-types-1.0.0.1)
1010

1111
- status-success=nix (default, ubuntu-latest)
1212
- status-success=nix (default, macOS-latest)
1313

14+
- status-success=test (8.10.4, ubuntu-latest)
15+
- status-success=test (8.10.4, macOS-latest)
1416
- status-success=test (8.10.3, ubuntu-latest)
1517
- status-success=test (8.10.3, macOS-latest)
1618
- status-success=test (8.10.2, ubuntu-latest)
1719
- status-success=test (8.10.2, macOS-latest)
18-
- status-success=test (8.10.1, ubuntu-latest)
19-
- status-success=test (8.10.1, macOS-latest)
2020
- status-success=test (8.8.4, ubuntu-latest)
2121
- status-success=test (8.8.4, macOS-latest)
2222
- status-success=test (8.8.3, ubuntu-latest)
@@ -27,15 +27,15 @@ pull_request_rules:
2727
- status-success=test (8.6.5, macOS-latest)
2828
- status-success=test (8.6.4, ubuntu-latest)
2929
- status-success=test (8.6.4, macOS-latest)
30-
- status-success=test (windows-latest, 8.10.3, true)
30+
- status-success=test (windows-latest, 8.10.4, true)
31+
- status-success=test (windows-latest, 8.10.3)
3132
- status-success=test (windows-latest, 8.6.5, true)
3233
- status-success=test (windows-latest, 8.10.2.2)
33-
- status-success=test (windows-latest, 8.10.1)
3434
# - status-success=test (windows-latest, 8.6.4)
3535

36+
- 'status-success=ci/circleci: ghc-8.10.4'
3637
- 'status-success=ci/circleci: ghc-8.10.3'
3738
- 'status-success=ci/circleci: ghc-8.10.2'
38-
- 'status-success=ci/circleci: ghc-8.10.1'
3939
- 'status-success=ci/circleci: ghc-8.8.4'
4040
- 'status-success=ci/circleci: ghc-8.8.3'
4141
- 'status-success=ci/circleci: ghc-8.8.2'

.github/workflows/bench.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ghc: ['8.10.3']
11+
ghc: ['8.10.4']
1212
os: [ubuntu-latest]
1313

1414
steps:
@@ -76,7 +76,7 @@ jobs:
7676
strategy:
7777
fail-fast: false
7878
matrix:
79-
ghc: ['8.10.3']
79+
ghc: ['8.10.4']
8080
os: [ubuntu-latest]
8181
example: ['Cabal-3.0.0.0', 'lsp-types-1.0.0.1']
8282

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
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.3', '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.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-latest, 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.1'
116+
if: matrix.ghc == '8.10.4'
117117
run: cabal build exe:hls-wrapper -O2 $LINUX_CABAL_ARGS
118118

119119
- name: Compress Wrapper Binary
120-
if: matrix.ghc == '8.10.1'
120+
if: matrix.ghc == '8.10.4'
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.1'
139+
if: matrix.ghc == '8.10.4'
140140
uses: actions/[email protected]
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.1'
150+
if: matrix.ghc == '8.10.4'
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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,15 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
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"]
14+
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"]
1515
os: [ubuntu-latest, macOS-latest]
1616
include:
17-
# one ghc-lib build
18-
# should be renabled: #784
19-
# - os: ubuntu-latest
20-
# ghc: '8.10.1'
21-
# ghc-lib: true
2217
# only test supported ghc major versions
2318
- os: ubuntu-latest
24-
ghc: '8.10.3'
19+
ghc: '8.10.4'
2520
test: true
2621
- os: windows-latest
27-
ghc: '8.10.3'
22+
ghc: '8.10.4'
2823
test: true
2924
- os: ubuntu-latest
3025
ghc: '8.8.4'
@@ -39,7 +34,7 @@ jobs:
3934
- os: windows-latest
4035
ghc: '8.10.2.2'
4136
- os: windows-latest
42-
ghc: '8.10.1'
37+
ghc: '8.10.3'
4338
# This build get stuck frequently
4439
# - os: windows-latest
4540
# ghc: '8.6.4'

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package ghcide
2525

2626
write-ghc-environment-files: never
2727

28-
index-state: 2021-02-03T00:50:21Z
28+
index-state: 2021-02-08T19:11:03Z
2929

3030
allow-newer:
3131
active:base,

ghcide/.azure/linux-stack.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

ghcide/.azure/windows-stack.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

ghcide/ghcide.cabal

Lines changed: 1 addition & 1 deletion
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/ghcide#readme
1515
bug-reports: https://github.com/haskell/ghcide/issues
16-
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.2 || == 8.8.3 || == 8.8.4 || == 8.10.1 || == 8.10.2 || == 8.10.3
16+
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
1717
extra-source-files: include/ghc-api-version.h README.md CHANGELOG.md
1818
test/data/hover/*.hs
1919
test/data/multi/cabal.project

ghcide/test/exe/Main.hs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,7 +3148,6 @@ checkFileCompiles fp diag =
31483148

31493149
pluginSimpleTests :: TestTree
31503150
pluginSimpleTests =
3151-
ignoreTest8101 "GHC #18070" $
31523151
ignoreInWindowsForGHC88And810 $
31533152
testSessionWithExtraFiles "plugin" "simple plugin" $ \dir -> do
31543153
_ <- openDoc (dir </> "KnownNat.hs") "haskell"
@@ -3163,7 +3162,6 @@ pluginSimpleTests =
31633162

31643163
pluginParsedResultTests :: TestTree
31653164
pluginParsedResultTests =
3166-
ignoreTest8101 "GHC #18070" $
31673165
ignoreInWindowsForGHC88And810 $
31683166
testSessionWithExtraFiles "plugin" "parsedResultAction plugin" $ \dir -> do
31693167
_ <- openDoc (dir</> "RecordDot.hs") "haskell"
@@ -4026,11 +4024,6 @@ pattern R x y x' y' = Range (Position x y) (Position x' y')
40264024
xfail :: TestTree -> String -> TestTree
40274025
xfail = flip expectFailBecause
40284026

4029-
ignoreTest8101 :: String -> TestTree -> TestTree
4030-
ignoreTest8101
4031-
| GHC_API_VERSION == ("8.10.1" :: String) = ignoreTestBecause
4032-
| otherwise = const id
4033-
40344027
ignoreInWindowsBecause :: String -> TestTree -> TestTree
40354028
ignoreInWindowsBecause = if isWindows then ignoreTestBecause else (\_ x -> x)
40364029

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
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.1 || == 8.10.2 || == 8.10.3
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
1818
extra-source-files:
1919
README.md
2020
ChangeLog.md

nix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ let
3535
ourHaskell = pkgs.haskell // {
3636
packages = pkgs.haskell.packages // {
3737
# relax upper bounds on ghc 8.10.x versions (and skip running tests)
38-
ghc8101 = extended (pkgs.haskell.packages.ghc8101.override sharedOverrides);
3938
ghc8102 = extended (pkgs.haskell.packages.ghc8102.override sharedOverrides);
4039
ghc8103 = extended (pkgs.haskell.packages.ghc8103.override sharedOverrides);
40+
ghc8104 = extended (pkgs.haskell.packages.ghc8104.override sharedOverrides);
4141
};
4242
};
4343
};

stack-8.10.3.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: nightly-2021-01-17
1+
resolver: nightly-2021-02-06
22

33
packages:
44
- .
@@ -19,14 +19,12 @@ ghc-options:
1919
"$everything": -haddock
2020

2121
extra-deps:
22-
- apply-refact-0.9.0.0
2322
- brittany-0.13.1.0
2423
- Cabal-3.0.2.0
2524
- clock-0.7.2
2625
- data-tree-print-0.1.0.2@rev:2
2726
- floskell-0.10.4
2827
- fourmolu-0.3.0.0
29-
- ghc-exactprint-0.6.3.4
3028
- heapsize-0.3.0
3129
- implicit-hie-cradle-0.3.0.2
3230
- implicit-hie-0.1.2.5

0 commit comments

Comments
 (0)