ci: Update lkm kernel version (#2567)

To fix build error and sync from upstream

---------

Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
This commit is contained in:
dabao1955
2025-05-02 21:36:45 +08:00
committed by GitHub
parent 61c0f7f849
commit 1946876626
2 changed files with 19 additions and 14 deletions

View File

@@ -15,23 +15,23 @@ jobs:
matrix: matrix:
include: include:
- version: "android12-5.10" - version: "android12-5.10"
sub_level: 226 sub_level: 233
os_patch_level: 2024-11 os_patch_level: 2025-02
- version: "android13-5.10" - version: "android13-5.10"
sub_level: 223 sub_level: 234
os_patch_level: 2024-11 os_patch_level: 2025-03
- version: "android13-5.15" - version: "android13-5.15"
sub_level: 167 sub_level: 178
os_patch_level: 2024-11 os_patch_level: 2025-03
- version: "android14-5.15" - version: "android14-5.15"
sub_level: 167 sub_level: 178
os_patch_level: 2024-11 os_patch_level: 2025-03
- version: "android14-6.1" - version: "android14-6.1"
sub_level: 115 sub_level: 128
os_patch_level: 2024-12 os_patch_level: 2025-03
- version: "android15-6.6" - version: "android15-6.6"
sub_level: 57 sub_level: 77
os_patch_level: 2024-12 os_patch_level: 2025-03
uses: ./.github/workflows/gki-kernel.yml uses: ./.github/workflows/gki-kernel.yml
with: with:
version: ${{ matrix.version }} version: ${{ matrix.version }}

View File

@@ -198,6 +198,11 @@ jobs:
- name: Make working directory clean to avoid dirty - name: Make working directory clean to avoid dirty
working-directory: android-kernel working-directory: android-kernel
run: | run: |
# Fix bazel build error
if [ -f common/BUILD.bazel ]; then
[ -f android/abi_gki_protected_exports_aarch64 ] || sed -i '/^[[:space:]]*"protected_exports_list"[[:space:]]*:[[:space:]]*"android\/abi_gki_protected_exports_aarch64",$/d' common/BUILD.bazel
fi
rm common/android/abi_gki_protected_exports_* || echo "No protected exports!" rm common/android/abi_gki_protected_exports_* || echo "No protected exports!"
git config --global user.email "bot@kernelsu.org" git config --global user.email "bot@kernelsu.org"
git config --global user.name "KernelSUBot" git config --global user.name "KernelSUBot"