Răsfoiți Sursa

Update build.yml

Added Galaxy A56 with build script until i get bazel to work, IF i can get it to work.
jimsterino98 9 luni în urmă
părinte
comite
e3a2ddc724
1 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 10 0
      .github/workflows/build.yml

+ 10 - 0
.github/workflows/build.yml

@@ -84,6 +84,8 @@ jobs:
           ANYKERNEL3="$ROOT/AnyKernel3"
           if [[ "${{ inputs.branch }}" == "SM-A546B-Oneui7" || "${{ inputs.branch }}" == "SM-A546E-Oneui7" ]]; then  
             COMMON="$CONFIG"
+          elif [[ "${{ inputs.branch }}" == "SM-A566B" ]]; then
+            COMMON="$CONFIG/kernel-6.6"
           else
             COMMON="$CONFIG/kernel_platform/common"
           fi
@@ -176,6 +178,10 @@ jobs:
             patch -p1 < fix_namespace.patch
             patch -p1 < fix_base.patch
             patch -p1 < Disable_CRC.patch
+          elif [[ "${{ inputs.branch }}" == "SM-A566B" ]]; then
+            patch -p1 < fix_namespace.patch
+            patch -p1 < fix_base.patch
+            patch -p1 < fix_taskmmu.patch
           fi
 
           # Apply KSU integration patches
@@ -260,6 +266,8 @@ jobs:
             sudo apt update
             sudo apt-get install -y libyaml-dev
             LTO=thin ./build_kernel.sh || true
+          elif [[ "${{ inputs.branch }}" == "SM-A566B" ]]; then
+            ./build_script.sh
           else
             #temporarily using this until i can figure out the other phones build script issues
             cd kernel_platform
@@ -287,6 +295,8 @@ jobs:
             cp ./out/msm-kalama-kalama-gki/dist/Image "$ANYKERNEL3/Image"
           elif [[ "${{ inputs.branch }}" == "SM-A546B-Oneui7" || "${{ inputs.branch }}" == "SM-A546E-Oneui7" ]]; then
             cp ./arch/arm64/boot/Image "$ANYKERNEL3/Image"
+          elif [[ "${{ inputs.branch }}" == "SM-A566B" ]]; then
+            cp ./kernel-6.6/out/arch/arm64/boot/Image "$ANYKERNEL3/Image"
           else
             echo "Error: Image file not found in any expected location"
             exit 1