fradrive/.gitlab-ci.yml
2019-11-07 16:05:26 +01:00

21 lines
444 B
YAML

default:
image: fpco/stack-build:lts-13.21
before_script:
- apt-get install -y --no-install-recommends g++
variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
cache:
key: "%CI_COMMIT_REF_SLUG"
paths:
- .stack
- .stack-work
build:
stage: build
script:
- stack build --copy-bins --local-bin-path $(pwd) --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic
artifacts:
paths:
- uniworx