mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-16 13:42:00 -05:00
update:workflow
This commit is contained in:
9
.github/workflows/build-gki-kernel.yml
vendored
9
.github/workflows/build-gki-kernel.yml
vendored
@@ -457,6 +457,7 @@ jobs:
|
||||
|
||||
# 记录结束时间
|
||||
endtime=$(date +'%Y-%m-%d %H:%M:%S')
|
||||
echo "Build started at: $starttime"
|
||||
echo "Build finished at: $endtime"
|
||||
|
||||
- name: Check build results
|
||||
@@ -466,6 +467,7 @@ jobs:
|
||||
if [ -f "out/arch/arm64/boot/Image" ]; then
|
||||
echo "✅ Kernel build successful!"
|
||||
ls -la out/arch/arm64/boot/
|
||||
ls -la out/vmlinux
|
||||
echo "Image size: $(du -h out/arch/arm64/boot/Image)"
|
||||
else
|
||||
echo "❌ Kernel build failed!"
|
||||
@@ -543,7 +545,12 @@ jobs:
|
||||
BBR_SUFFIX="_BBR"
|
||||
fi
|
||||
|
||||
ZIP_NAME="${KERNEL_NAME}_${DEVICE_CODENAME}${BBR_SUFFIX}${ROOT_SUFFIX}_${BUILD_DATE}.zip"
|
||||
SUSFS_NAME=""
|
||||
if [ "${{ inputs.enable_susfs }}" = "true" ]; then
|
||||
BBR_SUFFIX="_Susfs"
|
||||
fi
|
||||
|
||||
ZIP_NAME="${KERNEL_NAME}_${DEVICE_CODENAME}${BBR_SUFFIX}${ROOT_SUFFIX}${SUSFS_NAME}_${BUILD_DATE}.zip"
|
||||
|
||||
echo "=== 创建 ZIP 包: $ZIP_NAME ==="
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
- Enable BBR support : Enable bbr congestion control algorithm
|
||||
- Enable ZRAM support : You can choose zstd or lz4 compression algorithm
|
||||
- Enable Root support : kernelsu/SukiSU/kernelsu-next
|
||||
- Enable Susfs support : You can build susfs into kernel
|
||||
- Enable Devices choose support : corvette/salami and more
|
||||
- Enable Config choose support : repo/default
|
||||
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
||||
|
||||
Reference in New Issue
Block a user