File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -148,13 +148,21 @@ jobs:
148
148
- cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
149
149
- run :
150
150
name : Update
151
- command : cabal update
151
+ command : cabal new- update
152
152
- run :
153
153
name : Configure
154
- command : cabal configure --enable-tests
154
+ command : cabal new-configure --enable-tests
155
+ - run :
156
+ name : Build dependencies
157
+ command : cabal new-build -j1 --dependencies-only # need j1, else ghc-lib-parser triggers OOM
158
+ no_output_timeout : 30m
159
+ - save_cache :
160
+ key : cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
161
+ paths :
162
+ - ~/.cabal
155
163
- run :
156
164
name : Build
157
- command : cabal build -j1 # need j1, else ghc-lib-parser triggers OOM
165
+ command : cabal new- build -j1 # need j1, else ghc-lib-parser triggers OOM
158
166
no_output_timeout : 30m
159
167
- save_cache :
160
168
key : cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
You can’t perform that action at this time.
0 commit comments