22 lines
484 B
YAML
22 lines
484 B
YAML
default:
|
|
image: fpco/stack-build:lts-13.21
|
|
before_script:
|
|
- apt-get install -y --no-install-recommends gcc
|
|
- echo $PATH | xargs -d ':' -- ls
|
|
|
|
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 |