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:
148148 - cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
149149 - run :
150150 name : Update
151- command : cabal update
151+ command : cabal new- update
152152 - run :
153153 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
155163 - run :
156164 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
158166 no_output_timeout : 30m
159167 - save_cache :
160168 key : cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
You can’t perform that action at this time.
0 commit comments