Skip to content

Commit cee5be2

Browse files
committed
Add OnePlus 13 and OnePlus Ace 5 Pro Support end
1 parent 04db4d1 commit cee5be2

File tree

2 files changed

+124
-131
lines changed

2 files changed

+124
-131
lines changed

.github/workflows/build-kernel-release.yml

Lines changed: 121 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -14,123 +14,118 @@ on:
1414
default: true
1515

1616
jobs:
17-
# build-kernel-op11:
18-
# uses: ./.github/workflows/build.yml
19-
# secrets: inherit
20-
# with:
21-
# model: "OP11"
22-
# soc: "kalama"
23-
# branch: "oneplus/sm8550"
24-
# manifest: "oneplus_11_v.xml"
25-
# android_version: "android13"
26-
# kernel_version: "5.15"
27-
# build-kernel-op11r:
28-
# uses: ./.github/workflows/build.yml
29-
# secrets: inherit
30-
# with:
31-
# model: "OP11r"
32-
# soc: "waipio"
33-
# branch: "oneplus/sm8475"
34-
# manifest: "oneplus_11r_v.xml"
35-
# android_version: "android13"
36-
# kernel_version: "5.10"
37-
# build-kernel-opopen:
38-
# uses: ./.github/workflows/build.yml
39-
# secrets: inherit
40-
# with:
41-
# model: "OP-OPEN"
42-
# soc: "kalama"
43-
# branch: "oneplus/sm8550"
44-
# manifest: "oneplus_open_v.xml"
45-
# android_version: "android13"
46-
# kernel_version: "5.15"
47-
# build-kernel-opace2:
48-
# uses: ./.github/workflows/build.yml
49-
# secrets: inherit
50-
# with:
51-
# model: "OP-ACE-2"
52-
# soc: "waipio"
53-
# branch: "oneplus/sm8475"
54-
# manifest: "oneplus_ace2_v.xml"
55-
# android_version: "android13"
56-
# kernel_version: "5.10"
57-
# build-kernel-op10t:
58-
# uses: ./.github/workflows/build.yml
59-
# secrets: inherit
60-
# with:
61-
# model: "OP10t"
62-
# soc: "waipio"
63-
# branch: "oneplus/sm8475"
64-
# manifest: "oneplus_10t_v.xml"
65-
# android_version: "android12"
66-
# kernel_version: "5.10"
67-
# build-kernel-op10pro:
68-
# uses: ./.github/workflows/build.yml
69-
# secrets: inherit
70-
# with:
71-
# model: "OP10pro"
72-
# soc: "waipio"
73-
# branch: "oneplus/sm8450"
74-
# manifest: "oneplus_10_pro_v.xml"
75-
# android_version: "android12"
76-
# kernel_version: "5.10"
77-
# build-kernel-opace2pro:
78-
# uses: ./.github/workflows/build.yml
79-
# secrets: inherit
80-
# with:
81-
# model: "OP-ACE-2-PRO"
82-
# soc: "kalama"
83-
# branch: "oneplus/sm8550"
84-
# manifest: "oneplus_ace2pro_v.xml"
85-
# android_version: "android13"
86-
# kernel_version: "5.15"
87-
# build-kernel-op12:
88-
# uses: ./.github/workflows/build.yml
89-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
90-
# secrets: inherit
91-
# with:
92-
# model: "OP12"
93-
# soc: "pineapple"
94-
# branch: "oneplus/sm8650"
95-
# manifest: "oneplus12_v.xml"
96-
# android_version: "android14"
97-
# kernel_version: "6.1"
98-
# build-kernel-op13r:
99-
# uses: ./.github/workflows/build.yml
100-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
101-
# secrets: inherit
102-
# with:
103-
# model: "OP13r"
104-
# soc: "pineapple"
105-
# branch: "oneplus/sm8650"
106-
# manifest: "oneplus_13r.xml"
107-
# android_version: "android14"
108-
# kernel_version: "6.1"
109-
# build-kernel-opnord4:
110-
# uses: ./.github/workflows/build.yml
111-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
112-
# secrets: inherit
113-
# with:
114-
# model: "OP-NORD-4"
115-
# soc: "pineapple"
116-
# branch: "oneplus/sm7675"
117-
# manifest: "oneplus_nord_4_v.xml"
118-
# android_version: "android14"
119-
# kernel_version: "6.1"
120-
# build-kernel-opace5:
121-
# uses: ./.github/workflows/build.yml
122-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
123-
# secrets: inherit
124-
# with:
125-
# model: "OP-ACE-5"
126-
# soc: "pineapple"
127-
# branch: "oneplus/sm8650"
128-
# manifest: "oneplus_ace5.xml"
129-
# android_version: "android14"
130-
# kernel_version: "6.1"
17+
build-kernel-op11:
18+
uses: ./.github/workflows/build.yml
19+
secrets: inherit
20+
with:
21+
model: "OP11"
22+
soc: "kalama"
23+
branch: "oneplus/sm8550"
24+
manifest: "oneplus_11_v.xml"
25+
android_version: "android13"
26+
kernel_version: "5.15"
27+
build-kernel-op11r:
28+
uses: ./.github/workflows/build.yml
29+
secrets: inherit
30+
with:
31+
model: "OP11r"
32+
soc: "waipio"
33+
branch: "oneplus/sm8475"
34+
manifest: "oneplus_11r_v.xml"
35+
android_version: "android13"
36+
kernel_version: "5.10"
37+
build-kernel-opopen:
38+
uses: ./.github/workflows/build.yml
39+
secrets: inherit
40+
with:
41+
model: "OP-OPEN"
42+
soc: "kalama"
43+
branch: "oneplus/sm8550"
44+
manifest: "oneplus_open_v.xml"
45+
android_version: "android13"
46+
kernel_version: "5.15"
47+
build-kernel-opace2:
48+
uses: ./.github/workflows/build.yml
49+
secrets: inherit
50+
with:
51+
model: "OP-ACE-2"
52+
soc: "waipio"
53+
branch: "oneplus/sm8475"
54+
manifest: "oneplus_ace2_v.xml"
55+
android_version: "android13"
56+
kernel_version: "5.10"
57+
build-kernel-op10t:
58+
uses: ./.github/workflows/build.yml
59+
secrets: inherit
60+
with:
61+
model: "OP10t"
62+
soc: "waipio"
63+
branch: "oneplus/sm8475"
64+
manifest: "oneplus_10t_v.xml"
65+
android_version: "android12"
66+
kernel_version: "5.10"
67+
build-kernel-op10pro:
68+
uses: ./.github/workflows/build.yml
69+
secrets: inherit
70+
with:
71+
model: "OP10pro"
72+
soc: "waipio"
73+
branch: "oneplus/sm8450"
74+
manifest: "oneplus_10_pro_v.xml"
75+
android_version: "android12"
76+
kernel_version: "5.10"
77+
build-kernel-opace2pro:
78+
uses: ./.github/workflows/build.yml
79+
secrets: inherit
80+
with:
81+
model: "OP-ACE-2-PRO"
82+
soc: "kalama"
83+
branch: "oneplus/sm8550"
84+
manifest: "oneplus_ace2pro_v.xml"
85+
android_version: "android13"
86+
kernel_version: "5.15"
87+
build-kernel-op12:
88+
uses: ./.github/workflows/build.yml
89+
secrets: inherit
90+
with:
91+
model: "OP12"
92+
soc: "pineapple"
93+
branch: "oneplus/sm8650"
94+
manifest: "oneplus12_v.xml"
95+
android_version: "android14"
96+
kernel_version: "6.1"
97+
build-kernel-op13r:
98+
uses: ./.github/workflows/build.yml
99+
secrets: inherit
100+
with:
101+
model: "OP13r"
102+
soc: "pineapple"
103+
branch: "oneplus/sm8650"
104+
manifest: "oneplus_13r.xml"
105+
android_version: "android14"
106+
kernel_version: "6.1"
107+
build-kernel-opnord4:
108+
uses: ./.github/workflows/build.yml
109+
secrets: inherit
110+
with:
111+
model: "OP-NORD-4"
112+
soc: "pineapple"
113+
branch: "oneplus/sm7675"
114+
manifest: "oneplus_nord_4_v.xml"
115+
android_version: "android14"
116+
kernel_version: "6.1"
117+
build-kernel-opace5:
118+
uses: ./.github/workflows/build.yml
119+
secrets: inherit
120+
with:
121+
model: "OP-ACE-5"
122+
soc: "pineapple"
123+
branch: "oneplus/sm8650"
124+
manifest: "oneplus_ace5.xml"
125+
android_version: "android14"
126+
kernel_version: "6.1"
131127
build-kernel-op13:
132128
uses: ./.github/workflows/build.yml
133-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
134129
secrets: inherit
135130
with:
136131
model: "OP13"
@@ -141,7 +136,6 @@ jobs:
141136
kernel_version: "6.6"
142137
build-kernel-opace5pro:
143138
uses: ./.github/workflows/build.yml
144-
# needs: [build-kernel-op11, build-kernel-op11r, build-kernel-opopen, build-kernel-opace2, build-kernel-op10t, build-kernel-op10pro, build-kernel-opace2pro]
145139
secrets: inherit
146140
with:
147141
model: "OPAce5Pro"
@@ -154,17 +148,17 @@ jobs:
154148
trigger-release:
155149
runs-on: ubuntu-latest
156150
needs:
157-
# - build-kernel-op11
158-
# - build-kernel-op11r
159-
# - build-kernel-op12
160-
# - build-kernel-op13r
161-
# - build-kernel-opnord4
162-
# - build-kernel-opopen
163-
# - build-kernel-opace2
164-
# - build-kernel-opace2pro
165-
# - build-kernel-opace5
166-
# - build-kernel-op10t
167-
# - build-kernel-op10pro
151+
- build-kernel-op11
152+
- build-kernel-op11r
153+
- build-kernel-op12
154+
- build-kernel-op13r
155+
- build-kernel-opnord4
156+
- build-kernel-opopen
157+
- build-kernel-opace2
158+
- build-kernel-opace2pro
159+
- build-kernel-opace5
160+
- build-kernel-op10t
161+
- build-kernel-op10pro
168162
- build-kernel-op13
169163
- build-kernel-opace5pro
170164
if: ${{ inputs.make_release }}

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ jobs:
9292
cd "$CONFIG/kernel_platform"
9393
9494
echo "Adding KernelSU..."
95-
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next
96-
#cd ./KernelSU-Next/kernel
97-
#sed -i 's/ccflags-y += -DKSU_VERSION=16/ccflags-y += -DKSU_VERSION=12000/' ./Makefile
95+
curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s next
96+
9897
git submodule update --init --recursive
9998
cd KernelSU-Next/kernel
10099
KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" 10200)
@@ -218,7 +217,7 @@ jobs:
218217
#git commit -s -a -m "getting rid of -dirty"
219218
220219
BUILD_TYPE="gki"
221-
BAZEL_ARGS=(--jobs=$(nproc --all) --verbose_failures --lto=thin --spawn_strategy=local --no_build_dtc --skip_unused_modules)
220+
BAZEL_ARGS=(--jobs=$(nproc --all) --verbose_failures --lto=thin)
222221
if [ "${{ inputs.soc }}" == "sun" ]; then
223222
BUILD_TYPE="perf"
224223
BAZEL_ARGS+=(-g)

0 commit comments

Comments
 (0)