zuul-jobs/roles/cabal-test/defaults/main.yaml
Tristan Cacqueray 7fdf0cc3ab cabal-test: add build target job variable
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
2020-05-08 13:38:17 +00:00

8 lines
219 B
YAML

cabal_target: ""
zuul_work_dir: "{{ zuul.project.src_dir }}"
_cabal_install_args: "--only-dependencies {{ cabal_target }}"
_cabal_build_args: "--enable-tests {{ cabal_target }}"
_cabal_test_args: "{{ cabal_target }}"