toolbox/playbooks/build.yaml
Debarshi Ray df22010e4f playbooks: Use the same commands as mentioned in the documentation
... at https://containertoolbx.org/install/

There are some minor benefits to always invoking meson(1), as opposed to
directly invoking the underlying build backend, like 'ninja'.

It's one less command to be aware of.  Secondly, in theory, Meson can be
used with backends other than Ninja (see 'meson configure'), even though
Ninja is the most likely option for building Toolbx because it's only
supported on Linux.

https://github.com/containers/toolbox/pull/1142
2022-10-21 20:23:34 +02:00

12 lines
301 B
YAML

- name: Build Toolbox
command: meson compile -C builddir
args:
chdir: '{{ zuul.project.src_dir }}'
creates: builddir/src/toolbox
- name: Install Toolbox
become: yes
command: meson install -C builddir
args:
chdir: '{{ zuul.project.src_dir }}'
creates: /usr/local/bin/toolbox