This repository was archived by the owner on Oct 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +40
-52
lines changed Expand file tree Collapse file tree 12 files changed +40
-52
lines changed Original file line number Diff line number Diff line change 5
5
vmImage : ubuntu-16.04
6
6
strategy :
7
7
matrix :
8
+ ghc-8.8.3 :
9
+ GHC_VERSION : " 8.8.3"
8
10
ghc-8.8.2 :
9
11
GHC_VERSION : " 8.8.2"
10
12
ghc-8.6.5 :
Original file line number Diff line number Diff line change 7
7
matrix :
8
8
stack-def :
9
9
YAML_FILE : stack.yaml
10
+ stack-8.8.3 :
11
+ YAML_FILE : stack-8.8.3.yaml
10
12
stack-8.8.2 :
11
13
YAML_FILE : stack-8.8.2.yaml
12
- stack-8.8.1 :
13
- YAML_FILE : stack-8.8.1.yaml
14
14
stack-8.6.5 :
15
15
YAML_FILE : stack-8.6.5.yaml
16
16
stack-8.6.4 :
Original file line number Diff line number Diff line change 21
21
displayName: "Unpack cache"
22
22
condition: eq(variables.CACHE_RESTORED, 'true')
23
23
- bash : |
24
- # TODO Install ghc-8.8.3 when adding stack-8.8.3.yaml
25
-
24
+
26
25
brew install cabal-install --ignore-dependencies ghc
27
26
which cabal
28
27
which ghc
Original file line number Diff line number Diff line change 7
7
matrix :
8
8
stack-def :
9
9
YAML_FILE : stack.yaml
10
+ stack-8.8.3 :
11
+ YAML_FILE : stack-8.8.3.yaml
10
12
stack-8.8.2 :
11
13
YAML_FILE : stack-8.8.2.yaml
12
- stack-8.8.1 :
13
- YAML_FILE : stack-8.8.1.yaml
14
14
stack-8.6.5 :
15
15
YAML_FILE : stack-8.6.5.yaml
16
16
stack-8.6.4 :
Original file line number Diff line number Diff line change 7
7
matrix :
8
8
# ghc versions 8.8.1 and 8.8.2 are not usable in windows
9
9
# due to https://gitlab.haskell.org/ghc/ghc/issues/17575
10
- # ghc-8.8.2:
11
- # GHC_VERSION: "8.8.2"
10
+ # ghc-8.8.3 throws segfaults in ci envs so we can't use it neither
11
+ # due to https://gitlab.haskell.org/ghc/ghc/issues/17926
12
12
ghc-8.6.5 :
13
13
GHC_VERSION : " 8.6.5"
14
14
ghc-8.4.4 :
@@ -106,8 +106,8 @@ jobs:
106
106
- bash : |
107
107
source .azure/windows-cabal.bashrc
108
108
# Needed for wrapper-test
109
- stack setup --stack-yaml stack -8.8.1.yaml
110
- stack setup --stack-yaml stack -8.6.5.yaml
109
+ stack setup --resolver ghc -8.8.1
110
+ stack setup --resolver ghc -8.6.5
111
111
# TODO Enable :dispatcher-test suite
112
112
cabal v2-test :plugin-dispatcher-test :wrapper-test # :dispatcher-test --project-file $PROJECT_FILE
113
113
displayName: "Run Test: dispatcher-test, plugin-dispatcher-test and wrapper-test"
Original file line number Diff line number Diff line change 6
6
variables :
7
7
YAML_FILE : install/shake.yaml
8
8
STACK_ROOT : " C:\\ sr"
9
+ GHC_VERSION : " 8.6.5"
9
10
steps :
10
11
- task : Cache@2
11
12
inputs :
46
47
- bash : |
47
48
source .azure/windows-stack.bashrc
48
49
# Some executions fails with spurious errors installing executables
49
- stack install.hs latest || stack install.hs latest
50
+ # We can't install the latest target cause it is ghc-8.8.3 and throws segfaults
51
+ stack install.hs hie-${GHC_VERSION} || stack install.hs hie-${GHC_VERSION}
50
52
displayName: Run latest target of `install.hs`
51
53
- bash : |
52
54
mkdir -p .azure-cache
Original file line number Diff line number Diff line change 5
5
vmImage : windows-2019
6
6
strategy :
7
7
matrix :
8
- # default stack.yaml uses ghc-8.8.2 so we can't use it for windows
9
- # TODO: Enable it when it uses ghc-8.8.3
8
+ # default stack.yaml uses ghc-8.8.3 so we can't use it for windows
9
+ # TODO: Enable it when it uses a version without bugs for windows
10
10
# stack-def:
11
11
# YAML_FILE: stack.yaml
12
12
# ghc versions 8.8.1 and 8.8.2 are not usable in windows
13
13
# due to https://gitlab.haskell.org/ghc/ghc/issues/17575
14
+ # ghc-8.8.3 throws segfaults in ci envs so we can't use it neither
15
+ # due to https://gitlab.haskell.org/ghc/ghc/issues/17926
14
16
stack-8.6.5 :
15
17
YAML_FILE : stack-8.6.5.yaml
16
18
stack-8.6.4 :
@@ -117,8 +119,8 @@ jobs:
117
119
- bash : |
118
120
source .azure/windows-stack.bashrc
119
121
# Needed for wrapper-test
120
- stack setup --stack-yaml stack -8.8.1.yaml
121
- stack setup --stack-yaml stack -8.6.5.yaml
122
+ stack setup --resolver ghc -8.8.1
123
+ stack setup --resolver ghc -8.6.5
122
124
# TODO: Enable :dispatcher-test suite
123
125
stack test :plugin-dispatcher-test :wrapper-test --stack-yaml $(YAML_FILE)
124
126
displayName: "Run Test: dispatcher-test, plugin-dispatcher-test and wrapper-test"
Original file line number Diff line number Diff line change @@ -126,14 +126,14 @@ jobs:
126
126
- STACK_FILE : " stack-8.6.5.yaml"
127
127
<< : *defaults
128
128
129
- ghc-8.8.1 :
129
+ ghc-8.8.2 :
130
130
environment :
131
- - STACK_FILE : " stack-8.8.1 .yaml"
131
+ - STACK_FILE : " stack-8.8.2 .yaml"
132
132
<< : *defaults
133
133
134
- ghc-8.8.2 :
134
+ ghc-8.8.3 :
135
135
environment :
136
- - STACK_FILE : " stack-8.8.2 .yaml"
136
+ - STACK_FILE : " stack-8.8.3 .yaml"
137
137
<< : *defaults
138
138
139
139
ghc-nightly :
@@ -181,7 +181,7 @@ workflows:
181
181
- ghc-8.4.4
182
182
- ghc-8.6.4
183
183
- ghc-8.6.5
184
- - ghc-8.8.1
185
184
- ghc-8.8.2
185
+ - ghc-8.8.3
186
186
- ghc-nightly
187
187
- cabal
Original file line number Diff line number Diff line change 1
1
# Used to provide a different environment for the shake build script
2
- resolver : lts-13.19 # last lts with GHC 8.6.5
3
- # resolver: nightly-2020-01-31 # GHC 8.8.2
4
- # resolver: nightly-2020-01-21 # last nightly GHC 8.8.1
2
+ resolver : lts-14.27 # last lts GHC 8.6.5
3
+ # resolver: lts-15.7 # lts GHC 8.8.3
4
+ # resolver: lts-15.3 # last lts GHC 8.8.2
5
5
# resolver: lts-13.19 # last lts GHC 8.6.4
6
6
# resolver: lts-12.26 # last lts GHC 8.4.4
7
7
# resolver: lts-12.14 # last lts GHC 8.4.3
Original file line number Diff line number Diff line change 1
- resolver : nightly-2020-01-21 # last GHC 8.8.1
1
+ resolver : lts-15.4
2
2
packages :
3
3
- .
4
4
- hie-plugin-api
5
5
6
6
extra-deps :
7
7
# - ./submodules/HaRe
8
8
9
- - aeson-1.4.6.0
10
9
- apply-refact-0.7.0.0
11
- - brittany-0.12.1.1
12
- - bytestring-trie-0.2.5.0
10
+ - bytestring-trie-0.2.5.0@rev1
13
11
# - cabal-helper-1.0.0.0
14
12
- github : DanielG/cabal-helper
15
13
commit : a18bbb2af92e9b4337e7f930cb80754f2408bcfd
16
14
- clock-0.7.2
17
15
- constrained-dynamic-0.1.0.0
18
- - extra-1.6.21
19
16
- floskell-0.10.2
20
- - ghc-lib-parser-ex-8.8.5.3
21
- - haddock-api-2.23.0
22
- - haddock-library-1.8.0
23
- - haskell-lsp-0.20.0.0
24
- - haskell-lsp-types-0.20.0.0
25
- - lsp-test-0.10.1.0
26
- - hie-bios-0.4.0
27
- - hlint-2.2.11
17
+ - haddock-api-2.23.1
28
18
- hoogle-5.0.17.15
29
19
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
20
+ - ghc-lib-parser-8.8.2.20200205
21
+ - ghc-lib-parser-ex-8.8.5.3
30
22
- ilist-0.3.1.0
31
23
- monad-dijkstra-0.1.1.2
32
- - ormolu-0.0.3.1
33
- - resourcet-1.2.3 # forced by unliftio-core >= 0.2
34
24
- semigroups-0.18.5
35
25
- temporary-1.2.1.1
36
- - unliftio-0.2.12.1
37
26
- unliftio-core-0.2.0.1
38
27
39
28
flags :
42
31
hie-plugin-api :
43
32
pedantic : true
44
33
45
- # allow-newer: true
46
-
47
34
nix :
48
35
packages : [ icu libcxx zlib ]
49
36
You can’t perform that action at this time.
0 commit comments