]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Run 'make distcheck' on FreeBSD
authorAndrea Bolognani <abologna@redhat.com>
Thu, 23 Jul 2020 08:29:35 +0000 (10:29 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 23 Jul 2020 13:03:11 +0000 (15:03 +0200)
The Cirrus CI integration was modeled after the Travis CI jobs,
but those were limited to macOS where the test suite is currently
still broken. FreeBSD can run the full distcheck just fine, so
let's do that.

Fixes: 6190c14151c3e2cf5c30b9df9131697f5c3b64b9
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
ci/cirrus/build.yml

index 893e13d724133867d696d4f29ed1312e81bf4ea6..b7524021b47c862c2568aef80279a9fd8a3dc6a2 100644 (file)
@@ -21,6 +21,5 @@ build_task:
     - mkdir build
     - cd build
     - ../autogen.sh --prefix=$(pwd)/install-root
-    - $MAKE -j3
-    - $MAKE -j3 install
-    - $MAKE -j3 dist
+    - if test "$(uname)" = "FreeBSD"; then $MAKE -j3 distcheck; fi
+    - if test "$(uname)" = "Darwin"; then $MAKE -j3 && $MAKE -j3 install && $MAKE -j3 dist; fi