Add SMP boot options

This commit is contained in:
Zhang Junyang 2024-07-07 16:13:02 +00:00 committed by Tate, Hongliang Tian
parent 393c9019c0
commit bdabea09c2
2 changed files with 6 additions and 4 deletions

View File

@ -56,13 +56,13 @@ jobs:
- uses: actions/checkout@v4
- name: Boot Test (Multiboot)
- name: SMP Boot Test (Multiboot)
id: boot_test_mb
run: make run AUTO_TEST=boot ENABLE_KVM=1 BOOT_PROTOCOL=multiboot RELEASE=1
run: make run AUTO_TEST=boot ENABLE_KVM=1 BOOT_PROTOCOL=multiboot RELEASE=1 SMP=4
- name: Boot Test (Linux Legacy 32-bit Boot Protocol)
- name: SMP Boot Test (Linux Legacy 32-bit Boot Protocol)
id: boot_test_linux_legacy32
run: make run AUTO_TEST=boot ENABLE_KVM=1 BOOT_PROTOCOL=linux-legacy32 RELEASE=1
run: make run AUTO_TEST=boot ENABLE_KVM=1 BOOT_PROTOCOL=linux-legacy32 RELEASE=1 SMP=4
- name: Syscall Test (Linux EFI Handover Boot Protocol) (Debug Build)
id: syscall_test

View File

@ -9,10 +9,12 @@ BUILD_SYSCALL_TEST ?= 0
ENABLE_KVM ?= 1
GDB_TCP_PORT ?= 1234
INTEL_TDX ?= 0
MEM ?= 8G
RELEASE ?= 0
RELEASE_LTO ?= 0
LOG_LEVEL ?= error
SCHEME ?= ""
SMP ?= 1
# End of global options.
# The Makefile provides a way to run arbitrary tests in the kernel