File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,26 @@ jobs:
124124 manifest : " oneplus_10_pro_v.xml"
125125 android_version : " android12"
126126 kernel_version : " 5.10"
127+ build-kernel-op13 :
128+ uses : ./.github/workflows/build.yml
129+ secrets : inherit
130+ with :
131+ model : " OP13"
132+ soc : " sun"
133+ branch : " oneplus/sm8750"
134+ manifest : " JiuGeFaCai_oneplus_13_v.xml"
135+ android_version : " android15"
136+ kernel_version : " 6.6"
137+ build-kernel-opace5pro :
138+ uses : ./.github/workflows/build.yml
139+ secrets : inherit
140+ with :
141+ model : " OPAce5Pro"
142+ soc : " sun"
143+ branch : " oneplus/sm8750"
144+ manifest : " JiuGeFaCai_oneplus_ace5_pro_v.xml"
145+ android_version : " android15"
146+ kernel_version : " 6.6"
127147
128148 trigger-release :
129149 runs-on : ubuntu-latest
@@ -139,6 +159,8 @@ jobs:
139159 - build-kernel-opace5
140160 - build-kernel-op10t
141161 - build-kernel-op10pro
162+ - build-kernel-op13
163+ - build-kernel-opace5pro
142164 if : ${{ inputs.make_release }}
143165 env :
144166 REPO_OWNER : TheWildJames
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109109 cp ../../susfs4ksu/kernel_patches/50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch ./common/
110110 cp ../../susfs4ksu/kernel_patches/fs/* ./common/fs/
111111 cp ../../susfs4ksu/kernel_patches/include/linux/* ./common/include/linux/
112-
112+
113113 cd ./KernelSU-Next
114114
115115 echo "Applying next SUSFS patches..."
@@ -118,6 +118,9 @@ jobs:
118118
119119 # Change to common directory and apply SUSFS patch
120120 cd ../common
121+ if [ "${{ inputs.soc }}" == "sun" ]; then
122+ sed -i '/#include <trace\/hooks\/blk.h>/a #include <trace/hooks/fs.h>' ./fs/namespace.c
123+ fi
121124 patch -p1 < 50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
122125
123126 - name : Apply KSU Hooks
@@ -210,18 +213,24 @@ jobs:
210213 #git config --global user.name "TheWildJames"
211214 #git add *
212215 #git commit -s -a -m "getting rid of -dirty"
216+
217+ BUILD_TYPE = "gki"
218+ if [ "${{ inputs.soc }}" == "sun" ]; then
219+ BUILD_TYPE = "perf"
220+ fi
213221 if [ -f ./kernel_platform/build_with_bazel.py ]; then
214222 ./kernel_platform/build_with_bazel.py \
215223 -t ${{ inputs.soc }} \
216- gki \
224+ $BUILD_TYPE \
217225 --jobs=$(nproc --all) \
218226 --verbose_failures \
219227 --config=stamp \
220228 --user_kmi_symbol_lists=//msm-kernel:android/abi_gki_aarch64_qcom \
221229 --ignore_missing_projects \
230+ --lto=thin \
222231 -o "$(pwd)/out"
223232 else
224- ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} gki
233+ LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} $BUILD_TYPE
225234 fi
226235
227236 - name : Copy Images
You can’t perform that action at this time.
0 commit comments