image: fpco/stack-build-small:lts-14.17 stages: - build variables: STACK_ROOT: "${CI_PROJECT_DIR}/.stack-root" build: cache: key: "$CI_JOB_NAME" paths: - .stack-work/ - .stack-root/ script: - stack --no-terminal build