From d63764f8bc9540cc54092f575f1ea8bfc24b4189 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 29 Oct 2020 17:32:28 +0000 Subject: [PATCH] gitlab: run unit tests in i686 cross build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In most cross builds we can't run tests since we can't assume QEMU user mode emulators are loaded. i686 is special though because x86_64 can run i686 natively, so we should run unit tests there. The key benefit is that this gives us 32-bit unit test coverage in CI. Reviewed-by: Erik Skultety Signed-off-by: Daniel P. Berrangé --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 887bc30242..725c76e9ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,6 +115,7 @@ stages: script: - meson build --werror $MESON_OPTS || (cat build/meson-logs/meson-log.txt && exit 1) - ninja -C build + - if test "$CROSS" = "i686" ; then ninja -C build test ; fi # Native container build jobs -- 2.47.2