|
|
@@ -473,8 +473,7 @@ jobs:
|
|
|
MAKE_ARGS="LLVM_IAS=1 $MAKE_ARGS"
|
|
|
fi
|
|
|
|
|
|
- make -j$(nproc --all) O=out $MAKE_ARGS KCFLAGS+="-Wno-error -O2 -flto=thin -fno-stack-protector" gki_defconfig Image Image.gz Image.lz4 || exit 1
|
|
|
-
|
|
|
+ make -j$(nproc --all) O=out $MAKE_ARGS KCFLAGS+="-Wno-error -O2 -flto=thin -fno-stack-protector" gki_defconfig || exit 1
|
|
|
make -j$(nproc --all) O=out $MAKE_ARGS KCFLAGS+="-Wno-error -O2 -flto=thin -fno-stack-protector" || exit 1
|
|
|
|
|
|
- name: Create Kernel ZIP
|
|
|
@@ -493,18 +492,8 @@ jobs:
|
|
|
ZIP_NAME="WKSU-$KSUVER-${{ inputs.android_version }}-${{ inputs.kernel_version }}.$SUBLEVEL_FOR_NAME-${{ inputs.os_patch_level }}-AnyKernel3.zip"
|
|
|
zip -r "../$ZIP_NAME" ./*
|
|
|
|
|
|
- - name: Create Bootimgs Folder and Copy Images
|
|
|
- if: ${{ inputs.use_make == true }}
|
|
|
- run: |
|
|
|
- mkdir bootimgs
|
|
|
-
|
|
|
- echo "Creating bootimgs folder and copying images..."
|
|
|
- cp $CONFIG/common/out/arch/arm64/boot/Image ./bootimgs
|
|
|
- cp $CONFIG/common/out/arch/arm64/boot/Image.gz ./bootimgs
|
|
|
- cp $CONFIG/common/out/arch/arm64/boot/Image.lz4 ./bootimgs
|
|
|
-
|
|
|
- name: Android 12 boot image build script
|
|
|
- if: ${{ inputs.android_version == 'android12' }}
|
|
|
+ if: ${{ inputs.android_version == 'android12' && inputs.use_make == false }}
|
|
|
run: |
|
|
|
echo "Changing to configuration directory: $CONFIG..."
|
|
|
cd bootimgs
|
|
|
@@ -557,7 +546,7 @@ jobs:
|
|
|
cp ./boot-lz4.img ../WKSU-$KSUVER-${{ inputs.android_version }}-${{ inputs.kernel_version }}.$SUBLEVEL_FOR_NAME-${{ inputs.os_patch_level }}-boot-lz4.img
|
|
|
|
|
|
- name: Android 13/14/15 boot image build script
|
|
|
- if: ${{ inputs.android_version == 'android13' || inputs.android_version == 'android14' || inputs.android_version == 'android15' }}
|
|
|
+ if: ${{ (inputs.android_version == 'android13' || inputs.android_version == 'android14' || inputs.android_version == 'android15') && inputs.use_make == false }}
|
|
|
run: |
|
|
|
cd bootimgs
|
|
|
|
|
|
@@ -593,7 +582,7 @@ jobs:
|
|
|
- name: Upload Build Artifacts
|
|
|
uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
- name: WKSU-${{ env.KSUVER }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}
|
|
|
+ name: WKSU-${{ env.KSUVER }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-${{ inputs.use_make && 'make' || 'normal' }}
|
|
|
path: |
|
|
|
*.zip
|
|
|
*.img
|