gitlab-ci: Update CI configuration
Use system ghc and also cache .stack-work.
This commit is contained in:
parent
dfc1445158
commit
e07808142d
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue