mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-16 21:52: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')
|
endtime=$(date +'%Y-%m-%d %H:%M:%S')
|
||||||
|
echo "Build started at: $starttime"
|
||||||
echo "Build finished at: $endtime"
|
echo "Build finished at: $endtime"
|
||||||
|
|
||||||
- name: Check build results
|
- name: Check build results
|
||||||
@@ -466,6 +467,7 @@ jobs:
|
|||||||
if [ -f "out/arch/arm64/boot/Image" ]; then
|
if [ -f "out/arch/arm64/boot/Image" ]; then
|
||||||
echo "✅ Kernel build successful!"
|
echo "✅ Kernel build successful!"
|
||||||
ls -la out/arch/arm64/boot/
|
ls -la out/arch/arm64/boot/
|
||||||
|
ls -la out/vmlinux
|
||||||
echo "Image size: $(du -h out/arch/arm64/boot/Image)"
|
echo "Image size: $(du -h out/arch/arm64/boot/Image)"
|
||||||
else
|
else
|
||||||
echo "❌ Kernel build failed!"
|
echo "❌ Kernel build failed!"
|
||||||
@@ -543,7 +545,12 @@ jobs:
|
|||||||
BBR_SUFFIX="_BBR"
|
BBR_SUFFIX="_BBR"
|
||||||
fi
|
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 ==="
|
echo "=== 创建 ZIP 包: $ZIP_NAME ==="
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
- Enable BBR support : Enable bbr congestion control algorithm
|
- Enable BBR support : Enable bbr congestion control algorithm
|
||||||
- Enable ZRAM support : You can choose zstd or lz4 compression algorithm
|
- Enable ZRAM support : You can choose zstd or lz4 compression algorithm
|
||||||
- Enable Root support : kernelsu/SukiSU/kernelsu-next
|
- 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 Devices choose support : corvette/salami and more
|
||||||
- Enable Config choose support : repo/default
|
- Enable Config choose support : repo/default
|
||||||
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
||||||
|
|||||||
3
build.sh
3
build.sh
@@ -40,7 +40,10 @@ make -j$(nproc) O=out \
|
|||||||
2>&1 | tee out/error.log
|
2>&1 | tee out/error.log
|
||||||
|
|
||||||
tail -n 100 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')
|
endtime=$(date +'%Y-%m-%d %H:%M:%S')
|
||||||
|
echo "Build started at: $starttime"
|
||||||
echo "Build finished at: $endtime"
|
echo "Build finished at: $endtime"
|
||||||
|
|||||||
Reference in New Issue
Block a user