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