Commit 0095c4a7 authored by Tony Morris's avatar Tony Morris

can it be done?

parent e074b0b0
Pipeline #68602736 passed with stages
in 48 minutes and 19 seconds
image: haskell:latest
before_script:
- apt-get update && apt-get install xz-utils make
- export STACK_ROOT=`pwd`/.stack
- stack setup
- stack install --only-dependencies
- stack build
- cabal new-update
- cabal new-configure
build:
cache:
paths:
- _cache
- .stack
- .cabal/store
script:
- stack exec site build
- mkdir -v -p .cabal/store
- mkdir -v -p .cabal/bin
- ln -s ${CI_PROJECT_DIR}/.cabal ${HOME}/.cabal
- du -h --max-depth=1 .cabal
- cabal user-config init
- cabal new-build
except:
- master
pages:
cache:
paths:
- _cache
- .stack
script:
- stack exec site build
- cabal new-run -- site build
artifacts:
paths:
- public
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment