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
1 changed files with 4 additions and 3 deletions

View File

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