mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-09 05:16:47 +00:00
Increase memory size and change boot mode in CI
This commit is contained in:
parent
4101d8328a
commit
da3e279ac6
4
.github/workflows/kernel_test.yml
vendored
4
.github/workflows/kernel_test.yml
vendored
@ -80,6 +80,6 @@ jobs:
|
|||||||
id: syscall_test_at_exfat_linux
|
id: syscall_test_at_exfat_linux
|
||||||
run: make run AUTO_TEST=syscall SYSCALL_TEST_DIR=/exfat EXTRA_BLOCKLISTS_DIRS=blocklists.exfat ENABLE_KVM=0 BOOT_PROTOCOL=linux-efi-handover64 RELEASE=1
|
run: make run AUTO_TEST=syscall SYSCALL_TEST_DIR=/exfat EXTRA_BLOCKLISTS_DIRS=blocklists.exfat ENABLE_KVM=0 BOOT_PROTOCOL=linux-efi-handover64 RELEASE=1
|
||||||
|
|
||||||
- name: Regression Test (Multiboot2)
|
- name: Regression Test (Linux EFI Handover Boot Protocol)
|
||||||
id: regression_test_linux
|
id: regression_test_linux
|
||||||
run: make run AUTO_TEST=regression ENABLE_KVM=0 BOOT_PROTOCOL=multiboot2 RELEASE=1
|
run: make run AUTO_TEST=regression ENABLE_KVM=0 BOOT_PROTOCOL=linux-efi-handover64 RELEASE=1
|
||||||
|
@ -8,7 +8,7 @@ args = """\
|
|||||||
-machine q35,kernel-irqchip=split \
|
-machine q35,kernel-irqchip=split \
|
||||||
-cpu Icelake-Server,+x2apic \
|
-cpu Icelake-Server,+x2apic \
|
||||||
--no-reboot \
|
--no-reboot \
|
||||||
-m 2G \
|
-m 8G \
|
||||||
-smp 1 \
|
-smp 1 \
|
||||||
-nographic \
|
-nographic \
|
||||||
-serial chardev:mux \
|
-serial chardev:mux \
|
||||||
|
@ -8,7 +8,7 @@ args = """\
|
|||||||
-machine q35,kernel-irqchip=split \
|
-machine q35,kernel-irqchip=split \
|
||||||
-cpu Icelake-Server,+x2apic \
|
-cpu Icelake-Server,+x2apic \
|
||||||
--no-reboot \
|
--no-reboot \
|
||||||
-m 2G \
|
-m 8G \
|
||||||
-smp 1 \
|
-smp 1 \
|
||||||
-nographic \
|
-nographic \
|
||||||
-serial chardev:mux \
|
-serial chardev:mux \
|
||||||
|
@ -154,7 +154,7 @@ pub mod test {
|
|||||||
let key = get_key(string1, "=").unwrap();
|
let key = get_key(string1, "=").unwrap();
|
||||||
assert_eq!(key.as_str(), "init");
|
assert_eq!(key.as_str(), "init");
|
||||||
|
|
||||||
let string2 = "-m 2G";
|
let string2 = "-m 8G";
|
||||||
let key = get_key(string2, " ").unwrap();
|
let key = get_key(string2, " ").unwrap();
|
||||||
assert_eq!(key.as_str(), "-m");
|
assert_eq!(key.as_str(), "-m");
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ pub mod test {
|
|||||||
fn test_apply_kv_array() {
|
fn test_apply_kv_array() {
|
||||||
let qemu_args = &[
|
let qemu_args = &[
|
||||||
"-enable-kvm",
|
"-enable-kvm",
|
||||||
"-m 2G",
|
"-m 8G",
|
||||||
"-device virtio-blk-pci,bus=pcie.0,addr=0x6,drive=x0,disable-legacy=on,disable-modern=off",
|
"-device virtio-blk-pci,bus=pcie.0,addr=0x6,drive=x0,disable-legacy=on,disable-modern=off",
|
||||||
"-device virtio-keyboard-pci,disable-legacy=on,disable-modern=off",
|
"-device virtio-keyboard-pci,disable-legacy=on,disable-modern=off",
|
||||||
];
|
];
|
||||||
|
@ -14,7 +14,7 @@ echo "[$1] Forwarded QEMU guest port: $RAND_PORT_NUM1->22; $RAND_PORT_NUM2->8080
|
|||||||
COMMON_QEMU_ARGS="\
|
COMMON_QEMU_ARGS="\
|
||||||
-cpu Icelake-Server,+x2apic \
|
-cpu Icelake-Server,+x2apic \
|
||||||
-smp ${SMP:-1} \
|
-smp ${SMP:-1} \
|
||||||
-m ${MEM:-2G} \
|
-m ${MEM:-8G} \
|
||||||
--no-reboot \
|
--no-reboot \
|
||||||
-nographic \
|
-nographic \
|
||||||
-display none \
|
-display none \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user