zuul-jobs/zuul.d/nim-jobs.yaml
Albin Vass b209381be0 Add nimble roles and job
Installs nim toolchains using choosenim (similar to rustup),
installs dependencies and builds nim projects using
the package manager nimble.

See:
https://nim-lang.org/
https://github.com/nim-lang/nimble
https://github.com/dom96/choosenim

Change-Id: I95e7e02eb975200aed7680880b945261888de5ca
2020-11-08 09:36:05 +01:00

23 lines
502 B
YAML

- job:
name: nimble
parent: unittests
description: |
Base job for nim operations
Responds to these variables:
..zuul:jobvar:: nimble_command
:default: build
.. zuul:jobvar:: nim_version
:default: stable
The version of nim to use.
.. zuul:jobvar:: zuul_work_dir
::default: {{ zuul.project.src_dir }}
Path to operate in.
pre-run: playbooks/nimble/pre.yaml
run: playbooks/nimble/run.yaml