mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03:00
CI: Do not expect test-results.log
to exist on AArch64
The AArch64 port is still unstable, and in some cases, we may encounter a kernel panic or Shell crash that prevents `test-results.log` from being written to disk. The CI job would fail when we tried to print out the contents of this non-existent file. We have been ignoring its contents anyway, so let's not read it at all.
This commit is contained in:
parent
7f9ede07bc
commit
540ea9f1c4
Notes:
sideshowbarker
2024-07-16 21:34:08 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/540ea9f1c4 Pull-request: https://github.com/SerenityOS/serenity/pull/19147 Reviewed-by: https://github.com/gmta ✅
9
.github/workflows/cmake.yml
vendored
9
.github/workflows/cmake.yml
vendored
@ -246,6 +246,10 @@ jobs:
|
||||
echo "::group::ninja run # Qemu output"
|
||||
ninja run
|
||||
echo "::endgroup::"
|
||||
if ${{ matrix.arch == 'aarch64' }}; then
|
||||
# FIXME: Actually verify test results when all tests are expected to pass.
|
||||
exit 0
|
||||
fi
|
||||
echo "::group::Verify Output File"
|
||||
mkdir fsmount
|
||||
sudo mount -t ext2 -o loop,rw _disk_image fsmount
|
||||
@ -253,11 +257,6 @@ jobs:
|
||||
sudo cat fsmount/home/anon/test-results.log
|
||||
if ! sudo grep -q "Failed: 0" fsmount/home/anon/test-results.log
|
||||
then
|
||||
if ${{ matrix.arch == 'aarch64' }}; then
|
||||
# FIXME: Remove this once all tests pass on AArch64
|
||||
echo "::warning:: :^( Some tests failed"
|
||||
exit 0
|
||||
fi
|
||||
echo "::error:: :^( Tests failed, failing job"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user