Browse Source

Adding .gitlab-ci.yml

main
Gil 11 months ago
parent
commit
4fb8e40ee2
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      .gitlab-ci.yml

+ 26
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,26 @@
# Using https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/


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

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

before_script:
- apt-get update
- apt-get install make xz-utils
- wget -qO- https://get.haskellstack.org/ | sh
- stack build --no-terminal

stages:
- test

tests:
stage: test
script:
- stack test


Loading…
Cancel
Save