File tree 3 files changed +10
-34
lines changed
3 files changed +10
-34
lines changed Original file line number Diff line number Diff line change 1
1
defaults : &defaults
2
2
working_directory : ~/build
3
- docker :
4
- - image : alanz/haskell-hie-ci
5
3
resource_class : large
6
4
steps :
7
5
- checkout
@@ -34,33 +32,18 @@ defaults: &defaults
34
32
echo "export SKIP_CI=$SKIP_CI" >> $BASH_ENV
35
33
36
34
- run :
37
- name : Stack upgrade
35
+ name : Build
38
36
command : |
39
37
if [[ -z "$SKIP_CI" ]]; then
40
- stack upgrade
41
- fi
42
-
43
- - run :
44
- name : Stack setup
45
- command : |
46
- if [[ -z "$SKIP_CI" ]]; then
47
- stack -j4 --stack-yaml=${STACK_FILE} setup
48
- fi
49
-
50
- - run :
51
- name : Build (we need the exe for tests)
52
- # need j1, else ghc-lib-parser triggers OOM
53
- command : |
54
- if [[ -z "$SKIP_CI" ]]; then
55
- stack -j4 --stack-yaml=${STACK_FILE} install --no-terminal
38
+ stack -j4 --stack-yaml=${STACK_FILE} install --system-ghc --no-terminal
56
39
fi
57
40
no_output_timeout : 30m
58
41
59
42
- run :
60
43
name : Build Testsuite without running it
61
44
command : |
62
45
if [[ -z "$SKIP_CI" ]]; then
63
- stack -j4 --stack-yaml=${STACK_FILE} build --test --no-run-tests --no-terminal
46
+ stack -j4 --stack-yaml=${STACK_FILE} build --system-ghc -- test --no-run-tests --no-terminal
64
47
fi
65
48
no_output_timeout : 30m
66
49
@@ -70,22 +53,25 @@ defaults: &defaults
70
53
71
54
- save_cache :
72
55
key : v4-stack-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
73
- paths : &cache_paths
56
+ paths :
74
57
- ~/.stack
75
58
76
59
version : 2
77
60
jobs :
78
61
stackage-lts21 :
62
+ docker :
63
+ - image : haskell:9.4.8-slim-buster
79
64
environment :
80
65
- STACK_FILE : " stack-lts21.yaml"
81
66
<< : *defaults
82
67
83
68
stackage-nightly :
69
+ docker :
70
+ - image : haskell:9.6.4-slim-buster
84
71
environment :
85
72
- STACK_FILE : " stack.yaml"
86
73
<< : *defaults
87
74
88
-
89
75
workflows :
90
76
version : 2
91
77
multiple-ghcs :
Original file line number Diff line number Diff line change 1
- resolver : lts-21.25 # ghc-9.4
1
+ resolver : lts-21.25 # ghc-9.4.8
2
2
3
3
packages :
4
4
- .
Original file line number Diff line number Diff line change 1
- resolver : nightly-2023-07-10 # ghc-9.6.2
1
+ resolver : lts-22.9 # ghc-9.6.4
2
2
3
3
packages :
4
4
- .
@@ -20,25 +20,15 @@ extra-deps:
20
20
- retrie-1.2.2
21
21
- hiedb-0.5.0.1
22
22
- implicit-hie-0.1.4.0
23
- - hie-bios-0.13.1
24
23
- lsp-2.4.0.0
25
24
- lsp-test-0.17.0.0
26
25
- lsp-types-2.1.1.0
27
- - attoparsec-aeson-2.1.0.0
28
- - hw-fingertree-0.1.2.1
29
- - integer-conversion-0.1.0.1
30
26
- monad-dijkstra-0.1.1.4
31
- - hw-prim-0.6.3.2
32
- - optparse-applicative-0.17.1.0
33
27
34
28
# stan and friends
35
29
- stan-0.1.2.0
36
- - clay-0.14.0
37
- - colourista-0.1.0.2
38
30
- dir-traverse-0.2.3.0
39
31
- extensions-0.1.0.1
40
- - relude-1.2.1.0
41
- - slist-0.2.1.0
42
32
- tomland-1.3.3.2
43
33
- trial-0.0.0.0
44
34
- trial-optparse-applicative-0.0.0.0
You can’t perform that action at this time.
0 commit comments