gitlab-ci: Update CI configuration

Use system ghc and also cache .stack-work.
This commit is contained in:
Sanchayan Maity 2020-12-17 13:03:42 +05:30
parent dfc1445158
commit e07808142d

View file

@ -8,11 +8,12 @@ pages:
paths: paths:
- _cache - _cache
- .stack - .stack
- .stack-work
before_script: before_script:
- stack install --only-dependencies - stack --system-ghc install --only-dependencies
- stack build - stack --system-ghc build
script: script:
- stack exec site build - stack --system-ghc exec site build
artifacts: artifacts:
paths: paths:
- public - public