CI: Check filesystem consistency after running tests

This commit is contained in:
implicitfield 2024-11-23 17:13:55 +02:00 committed by Nico Weber
parent caefb208f0
commit d9eaaee6e0

View file

@ -167,6 +167,9 @@ jobs:
echo "::group::ninja run # Qemu output" echo "::group::ninja run # Qemu output"
ninja run ninja run
echo "::endgroup::" echo "::endgroup::"
echo "::group::Check Filesystem Consistency"
e2fsck -f -y _disk_image
echo "::endgroup::"
echo "::group::Verify Output File" echo "::group::Verify Output File"
mkdir fsmount mkdir fsmount
sudo mount -t ext2 -o loop,rw _disk_image fsmount sudo mount -t ext2 -o loop,rw _disk_image fsmount