update:workflow

This commit is contained in:
Dich
2025-07-04 13:03:06 +08:00
parent c027a77447
commit da44107f91
3 changed files with 12 additions and 1 deletions

View File

@@ -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 ==="

View File

@@ -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

View File

@@ -40,7 +40,10 @@ make -j$(nproc) O=out \
2>&1 | tee out/error.log
tail -n 100 out/error.log
ls -la out/arch/arm64/boot/
ls -la out/vmlinux
# 记录结束时间
endtime=$(date +'%Y-%m-%d %H:%M:%S')
echo "Build started at: $starttime"
echo "Build finished at: $endtime"