493bc1ffd5
Toolbox requires Go 1.13, while Fedora 30 only has Go 1.12.17. Therefore the test environment needs to be upgraded to something more recent. Otherwise, the test fails with: note: module requires Go 1.13 The name of the go-md2man package changed in Fedora 31, and hence had to be updated. https://github.com/containers/toolbox/pull/442
22 lines
449 B
YAML
22 lines
449 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Install requirements
|
|
become: yes
|
|
package:
|
|
name:
|
|
- golang
|
|
- golang-github-cpuguy83-md2man
|
|
- ninja-build
|
|
- meson
|
|
- ShellCheck
|
|
|
|
- name: Build
|
|
command: meson builddir
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
- name: Test
|
|
command: ninja -C builddir test
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|