File tree 1 file changed +6
-18
lines changed
1 file changed +6
-18
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 : haskell:9.6.4-slim-buster
5
3
resource_class : large
6
4
steps :
7
5
- checkout
@@ -33,34 +31,20 @@ defaults: &defaults
33
31
fi
34
32
echo "export SKIP_CI=$SKIP_CI" >> $BASH_ENV
35
33
36
- - run :
37
- name : Stack upgrade
38
- command : |
39
- 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
34
- run :
51
35
name : Build (we need the exe for tests)
52
36
# need j1, else ghc-lib-parser triggers OOM
53
37
command : |
54
38
if [[ -z "$SKIP_CI" ]]; then
55
- stack -j4 --stack-yaml=${STACK_FILE} install --no-terminal
39
+ stack -j4 --stack-yaml=${STACK_FILE} install --system-ghc -- no-terminal
56
40
fi
57
41
no_output_timeout : 30m
58
42
59
43
- run :
60
44
name : Build Testsuite without running it
61
45
command : |
62
46
if [[ -z "$SKIP_CI" ]]; then
63
- stack -j4 --stack-yaml=${STACK_FILE} build --test --no-run-tests --no-terminal
47
+ stack -j4 --stack-yaml=${STACK_FILE} build --system-ghc -- test --no-run-tests --no-terminal
64
48
fi
65
49
no_output_timeout : 30m
66
50
@@ -76,11 +60,15 @@ defaults: &defaults
76
60
version : 2
77
61
jobs :
78
62
stackage-lts21 :
63
+ docker :
64
+ - image : haskell:9.4.8-slim-buster
79
65
environment :
80
66
- STACK_FILE : " stack-lts21.yaml"
81
67
<< : *defaults
82
68
83
69
stackage-lts22 :
70
+ docker :
71
+ - image : haskell:9.6.4-slim-buster
84
72
environment :
85
73
- STACK_FILE : " stack.yaml"
86
74
<< : *defaults
You can’t perform that action at this time.
0 commit comments