2 # https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
5 image: cgenie/stack-build:lts-17.13-garg
8 STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
9 STACK_OPTS: "--system-ghc"
19 #- apt-get install make xz-utils
30 - stack build --haddock --no-haddock-deps --fast
49 # If you find yourself with a non-sensical build error when you know your project should be building just fine, this fragment should help:
54 # # Clear out cache files
56 # - rm -rf .stack-work
57 # - stack setup --system-ghc
58 # - stack install --local-bin-path target --system-ghc