zuul-jobs/roles/cabal-test/defaults/main.yaml
Tristan Cacqueray 8bde6d3504 cabal-test: add install_args and build_args role var
This change adds new role vars to enable setting
custom cabal arguments.

Change-Id: I4e4174117608bb76ca6e497687753cfdbc3acc02
2021-03-04 07:51:13 +00:00

10 lines
311 B
YAML

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