Nim Roles

Warning

These roles are not currently maintained. Volunteers welcome.

ensure-nimble

Install nim

Role Variables

nim_version
Default: stable
nimble

Run nimble command in a source directory. Assumes the appropriate version of nim and nimble is installed.

Role Variables

nimble_command
Default: build

Nimble command to run. Examples are “build”, “run” or “test”.

nim_path

Path to a directory where nim and nimble are installed.

nimble_use_siblings
Default: true
Type: bool

Whether to configure nimble to build with siblings or not.

nimble_siblings
Type: list

List of paths to directories containing nim projects to configure nimble with nimble develop. The projects have to be managed by nimble and contain a .nimble file. By default this role will try to configure any repos made available with job.required-projects.

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Directory to run nimble in.