Commit 1527a94a authored by Nicolas Lenz's avatar Nicolas Lenz ❄️
Browse files

Add .gitlab-ci.yml

parent c263f6c1
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+18 −0
Original line number Diff line number Diff line
image: fpco/stack-build:lts-14.6

variables:
  STACK_ROOT: "${CI_PROJECT_DIR}/.stack"

cache:
  paths:
    - .stack-work
    - .stack

build:
  stage: build
  script:
    - stack build
    - cp $(stack path --dist-dir)/build/polygon/polygon .
  artifacts:
    paths:
      - polygon