mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 21:10:30 +00:00
Meta: Add run target for CI
This invocation of qemu has no VGA, no sound, no graphics, debug output going to a file, and defaults to printing /dev/ttyS0 to stdout.
This commit is contained in:
parent
c2d8b8ec14
commit
ca8319f800
Notes:
sideshowbarker
2024-07-18 21:51:16 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/ca8319f8004 Pull-request: https://github.com/SerenityOS/serenity/pull/4921 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/linusg
1 changed files with 16 additions and 0 deletions
16
Meta/run.sh
16
Meta/run.sh
|
@ -138,6 +138,22 @@ elif [ "$SERENITY_RUN" = "qcmd" ]; then
|
|||
-device e1000,netdev=breh \
|
||||
-kernel Kernel/Kernel \
|
||||
-append "${SERENITY_KERNEL_CMDLINE}"
|
||||
elif [ "$SERENITY_RUN" = "ci" ]; then
|
||||
# Meta/run.sh ci: qemu in text mode
|
||||
echo "Running QEMU in CI"
|
||||
"$SERENITY_QEMU_BIN" \
|
||||
$SERENITY_EXTRA_QEMU_ARGS \
|
||||
-s -m $SERENITY_RAM_SIZE \
|
||||
-cpu $SERENITY_QEMU_CPU \
|
||||
-d guest_errors \
|
||||
-smp 2 \
|
||||
-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk \
|
||||
-device ich9-ahci \
|
||||
-nographic \
|
||||
-display none \
|
||||
-debugcon file:debug.log \
|
||||
-kernel Kernel/Kernel \
|
||||
-append "${SERENITY_KERNEL_CMDLINE}"
|
||||
else
|
||||
# Meta/run.sh: qemu with user networking
|
||||
"$SERENITY_QEMU_BIN" \
|
||||
|
|
Loading…
Reference in a new issue