Skip to content

Commit

Permalink
ci: Print information about binaries using "file"
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Mar 3, 2021
1 parent f24e122 commit b994a8b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci/cirrus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,27 @@ 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"
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
fi

if [ -n "$QEMU_CMD" ]
then
make -j2
$QEMU_CMD ./tests 16
$QEMU_CMD ./exhaustive_tests
fi
Expand Down

0 comments on commit b994a8b

Please sign in to comment.