df22010e4f
... 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
12 lines
301 B
YAML
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
|