7fdf0cc3ab
This change adds support for custom target and removes the configure step which is not necessary. This change also uses the copr of cabal-install to get a more up-to-date version. Change-Id: I538e2b24abb66181d1ead2779bf6aa3440ee58ff
15 lines
420 B
YAML
15 lines
420 B
YAML
- name: Run cabal install {{ _cabal_install_args }}
|
|
command: "cabal install {{ _cabal_install_args }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Run cabal build {{ _cabal_build_args }}
|
|
command: "cabal build {{ _cabal_build_args }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Run cabal test {{ _cabal_test_args }}
|
|
command: "cabal test {{ _cabal_test_args }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|