Skip to content
Snippets Groups Projects
Commit 4a03fc4e authored by Eduardo Trujillo's avatar Eduardo Trujillo
Browse files

Add .gitlab-ci.yml

parent 8aa0ef9c
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
stack-build:
stage: build
image: haskell:8.10.2
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .stack-work
- .stack
before_script:
- export STACK_ROOT="$CI_PROJECT_DIR/.stack"
script:
- stack --no-terminal build
stack-test:
stage: test
image: haskell:8.10.2
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .stack-work
- .stack
policy: pull
before_script:
- export STACK_ROOT="$CI_PROJECT_DIR/.stack"
script:
- stack --no-terminal test
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment