Add support github actions

This commit is contained in:
remittor
2025-01-14 12:33:35 +03:00
parent 4ab2b4a312
commit 2c59084788
4 changed files with 295 additions and 1 deletions

View File

@@ -16,8 +16,9 @@ KALLSYMS=false
TESTING_KERNEL=false
BUILD_ONLY_INITRAMFS=false
BUILD_SKIP_INITRAMFS=false
ONLY_INIT=false
while getopts "j:t:fiskT" opt; do
while getopts "j:t:fiskTI" opt; do
case $opt in
j) MAKE_JOBS=$OPTARG;;
t) XTARGET=$OPTARG;;
@@ -26,6 +27,7 @@ while getopts "j:t:fiskT" opt; do
T) TESTING_KERNEL=true;;
i) BUILD_ONLY_INITRAMFS=true;;
s) BUILD_SKIP_INITRAMFS=true;;
I) ONLY_INIT=true;;
esac
done
@@ -262,6 +264,8 @@ function build_target {
#make tools/install -j$make_jobs
#make toolchain/install -j$make_jobs
[ "$ONLY_INIT" = "true" ] && return 0
make -j $make_jobs download world
}