Skip to content

Commit

Permalink
chore: close BLK and NET default when making the kernel image
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Jul 26, 2024
1 parent f4a3ed6 commit e331336
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
- name: Clone Top Repository
if: github.repository != 'Starry-OS/Starry'
run: git clone https://github.com/Starry-OS/Starry.git ${{ env.WORKING_DIRECTORY }} && cd ${{ env.WORKING_DIRECTORY }} && git checkout ${{ inputs.TopBranch }}
- name: Update Top Repository
working-directory: ${{ env.WORKING_DIRECTORY }}
run: make pre_update
- name: Check rust version
working-directory: ${{ env.WORKING_DIRECTORY }}
run: rustc --version --verbose
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ STRUCT ?= Unikernel
override FEATURES += fp_simd

# QEMU options
BLK ?= y
NET ?= y
BLK ?= n
NET ?= n
GRAPHIC ?= n
BUS ?= pci

Expand Down
2 changes: 1 addition & 1 deletion scripts/test/app_test_for_monolithic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function test_one() {
local args=$1
local actual="$APP/actual.out"
# 默认要用批量测试模式
args="$args ARCH=$ARCH APP_FEATURES=batch ACCEL=n"
args="$args ARCH=$ARCH APP_FEATURES=batch ACCEL=n NET=y BLK=y"
rm -f "$actual"

MSG=
Expand Down

0 comments on commit e331336

Please sign in to comment.