From b994a8be3cf8ab0fc6a622980a9845bb82cc17db Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 26 Feb 2021 17:36:34 +0100 Subject: [PATCH] ci: Print information about binaries using "file" --- ci/cirrus.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/cirrus.sh b/ci/cirrus.sh index afd72b493c999..2175a04e0dbf1 100755 --- a/ci/cirrus.sh +++ b/ci/cirrus.sh @@ -21,6 +21,13 @@ valgrind --version || true --with-valgrind="$WITH_VALGRIND" \ --host="$HOST" $EXTRAFLAGS +make -j2 + +# Print information about binaries so that we can see that the architecture is correct +file *tests || true +file bench_* || true +file .libs/* || true + if [ -n "$BUILD" ] then make -j2 "$BUILD" @@ -28,7 +35,6 @@ fi if [ "$RUN_VALGRIND" = "yes" ] then - make -j2 # the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html) valgrind --error-exitcode=42 ./tests 16 valgrind --error-exitcode=42 ./exhaustive_tests @@ -36,7 +42,6 @@ fi if [ -n "$QEMU_CMD" ] then - make -j2 $QEMU_CMD ./tests 16 $QEMU_CMD ./exhaustive_tests fi