diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml index 5fb1678a8..ec4e696ba 100644 --- a/.github/workflows/test_asterinas.yml +++ b/.github/workflows/test_asterinas.yml @@ -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 diff --git a/Makefile b/Makefile index 56134ff5a..8b87b5d77 100644 --- a/Makefile +++ b/Makefile @@ -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