Skip to content

Commit b994a8b

Browse files
ci: Print information about binaries using "file"
1 parent f24e122 commit b994a8b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/cirrus.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,27 @@ valgrind --version || true
2121
--with-valgrind="$WITH_VALGRIND" \
2222
--host="$HOST" $EXTRAFLAGS
2323

24+
make -j2
25+
26+
# Print information about binaries so that we can see that the architecture is correct
27+
file *tests || true
28+
file bench_* || true
29+
file .libs/* || true
30+
2431
if [ -n "$BUILD" ]
2532
then
2633
make -j2 "$BUILD"
2734
fi
2835

2936
if [ "$RUN_VALGRIND" = "yes" ]
3037
then
31-
make -j2
3238
# 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)
3339
valgrind --error-exitcode=42 ./tests 16
3440
valgrind --error-exitcode=42 ./exhaustive_tests
3541
fi
3642

3743
if [ -n "$QEMU_CMD" ]
3844
then
39-
make -j2
4045
$QEMU_CMD ./tests 16
4146
$QEMU_CMD ./exhaustive_tests
4247
fi

0 commit comments

Comments
 (0)