16673b8dc1
This change adds support for custom target and adds a separate build step to better report build failure, as opposed to a single test failure. Change-Id: I9e7a5e14b669dcbacd26861595358f6a4c04b585
8 lines
341 B
YAML
8 lines
341 B
YAML
haskell_stack_target: ""
|
|
lts_version: ""
|
|
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
|
|
|
_stack_resolver_args: "{% if lts_version %}--resolver {{ lts_version }}{% endif %}"
|
|
_stack_build_args: "{{ _stack_resolver_args }} --test --no-run-tests {{ haskell_stack_target }}"
|
|
_stack_test_args: "{{ _stack_resolver_args }} {{ haskell_stack_target }}"
|