Run 'make check-manifest' as build step, so we ensure that the MANIFEST
file is up-to-date, and thus dist will (hopefully) work.
Signed-off-by: Pino Toscano <ptoscano(a)redhat.com>
---
Changes from v1:
- run 'make check-manifest' as separate job
guests/playbooks/build/projects/libvirt-ocaml.yml | 4 ++++
jenkins/projects/libvirt-ocaml.yaml | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/guests/playbooks/build/projects/libvirt-ocaml.yml
b/guests/playbooks/build/projects/libvirt-ocaml.yml
index 7a2e216..58f017b 100644
--- a/guests/playbooks/build/projects/libvirt-ocaml.yml
+++ b/guests/playbooks/build/projects/libvirt-ocaml.yml
@@ -25,3 +25,7 @@
./configure --prefix=$VIRT_PREFIX
$MAKE
$MAKE opt
+- include: '{{ playbook_base }}/jobs/generic-check-job.yml'
+ vars:
+ command: |
+ $MAKE check-manifest
diff --git a/jenkins/projects/libvirt-ocaml.yaml b/jenkins/projects/libvirt-ocaml.yaml
index 8eb03e3..0c819cc 100644
--- a/jenkins/projects/libvirt-ocaml.yaml
+++ b/jenkins/projects/libvirt-ocaml.yaml
@@ -21,3 +21,7 @@
./configure --prefix=$VIRT_PREFIX
$MAKE
$MAKE opt
+ - generic-check-job:
+ parent_jobs: 'libvirt-ocaml-build'
+ command: |
+ $MAKE check-manifest
--
2.21.0