.gitlab-ci.yml 329 Bytes
Newer Older
Nicolas Lenz's avatar
Nicolas Lenz committed
1
image: fpco/stack-build
Nicolas Lenz's avatar
Nicolas Lenz committed
2 3 4 5 6 7 8 9 10 11 12 13

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

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

build:
  stage: build
  script:
Nicolas Lenz's avatar
Nicolas Lenz committed
14
    - rm stack.yaml.lock
Nicolas Lenz's avatar
Nicolas Lenz committed
15
    - stack build
Nicolas Lenz's avatar
Nicolas Lenz committed
16
    - cp $(stack path --dist-dir)/build/mock-bot-telegram/mock-bot-telegram .
Nicolas Lenz's avatar
Nicolas Lenz committed
17 18
  artifacts:
    paths:
Nicolas Lenz's avatar
Nicolas Lenz committed
19
      - mock-bot-telegram