From bb30171bb9318a2249a10be4ca5512596038085f Mon Sep 17 00:00:00 2001 From: weishu Date: Sun, 17 Mar 2024 01:08:42 +0800 Subject: [PATCH] try fix --- .github/workflows/avd-kernel.yml | 5 +---- .github/workflows/build-kernel-avd.yml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/avd-kernel.yml b/.github/workflows/avd-kernel.yml index 31901f37a4d0..a2213bfa4281 100644 --- a/.github/workflows/avd-kernel.yml +++ b/.github/workflows/avd-kernel.yml @@ -89,9 +89,6 @@ jobs: echo "[+] Add KernelSU driver to Makefile" DRIVER_MAKEFILE=$GKI_ROOT/common/drivers/Makefile grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "\nobj-y += kernelsu/\n" >> "$DRIVER_MAKEFILE" - cat $DRIVER_MAKEFILE - ls -al $GKI_ROOT/common/drivers - ls -al $GKI_ROOT/common/drivers/kernelsu/ echo "[+] Apply KernelSU patches" cd $GKI_ROOT/common/ && git apply $GITHUB_WORKSPACE/KernelSU/.github/patches/$PATCH_PATH/*.patch || echo "[-] No patch found" @@ -122,7 +119,7 @@ jobs: export KSU_EXPECTED_SIZE=${{ vars.EXPECTED_SIZE }} export KSU_EXPECTED_HASH=${{ vars.EXPECTED_HASH }} fi - tools/bazel run --config=android_ci --config=stamp --lto=thin --verbose_failures --sandbox_debug //common-modules/virtual-device:virtual_device_${{ inputs.arch }}_dist -- --dist_dir=dist + tools/bazel run --config=android_ci --config=stamp --lto=thin //common-modules/virtual-device:virtual_device_${{ inputs.arch }}_dist -- --dist_dir=dist NAME=kernel-${{ inputs.arch }}-avd-${{ inputs.version_name }}-${{ env.kernelsu_version }} TARGET_IMAGE=dist/bzImage if [ ! -e $TARGET_IMAGE ]; then diff --git a/.github/workflows/build-kernel-avd.yml b/.github/workflows/build-kernel-avd.yml index 5ab1f125fc4d..d66d8ae1e06f 100644 --- a/.github/workflows/build-kernel-avd.yml +++ b/.github/workflows/build-kernel-avd.yml @@ -1,4 +1,4 @@ -name: Build Kernel - Android 14 AVD +name: Build Kernel - AVD on: push: branches: ["main", "ci", "checkci"]