Skip to content

Commit 902a6b1

Browse files
committed
Make Test
1 parent c1a9bb2 commit 902a6b1

File tree

2 files changed

+117
-116
lines changed

2 files changed

+117
-116
lines changed

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

Lines changed: 115 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
description: 'Do you want to create a release?'
1212
required: true
1313
type: boolean
14-
default: true
14+
default: false
1515
ksun_branch:
1616
description: "Choose KernelSU Next Branch"
1717
required: true
@@ -34,48 +34,48 @@ jobs:
3434
manifest: oneplus_11_v.xml
3535
android_version: android13
3636
kernel_version: "5.15"
37-
- model: OP11r
38-
soc: waipio
39-
branch: oneplus/sm8475
40-
manifest: oneplus_11r_v.xml
41-
android_version: android12
42-
kernel_version: "5.10"
43-
- model: OP-OPEN
44-
soc: kalama
45-
branch: oneplus/sm8550
46-
manifest: oneplus_open_v.xml
47-
android_version: android13
48-
kernel_version: "5.15"
49-
- model: OP-ACE-2
50-
soc: waipio
51-
branch: oneplus/sm8475
52-
manifest: oneplus_ace2_v.xml
53-
android_version: android12
54-
kernel_version: "5.10"
55-
- model: OP10t
56-
soc: waipio
57-
branch: oneplus/sm8475
58-
manifest: oneplus_10t_v.xml
59-
android_version: android12
60-
kernel_version: "5.10"
61-
- model: OP10pro
62-
soc: waipio
63-
branch: oneplus/sm8450
64-
manifest: oneplus_10_pro_v.xml
65-
android_version: android12
66-
kernel_version: "5.10"
67-
- model: OP-ACE-2-PRO
68-
soc: kalama
69-
branch: oneplus/sm8550
70-
manifest: oneplus_ace2pro_v.xml
71-
android_version: android13
72-
kernel_version: "5.15"
73-
- model: OP12r
74-
soc: kalama
75-
branch: oneplus/sm8550
76-
manifest: oneplus_12r_v.xml
77-
android_version: android13
78-
kernel_version: "5.15"
37+
# - model: OP11r
38+
# soc: waipio
39+
# branch: oneplus/sm8475
40+
# manifest: oneplus_11r_v.xml
41+
# android_version: android12
42+
# kernel_version: "5.10"
43+
# - model: OP-OPEN
44+
# soc: kalama
45+
# branch: oneplus/sm8550
46+
# manifest: oneplus_open_v.xml
47+
# android_version: android13
48+
# kernel_version: "5.15"
49+
# - model: OP-ACE-2
50+
# soc: waipio
51+
# branch: oneplus/sm8475
52+
# manifest: oneplus_ace2_v.xml
53+
# android_version: android12
54+
# kernel_version: "5.10"
55+
# - model: OP10t
56+
# soc: waipio
57+
# branch: oneplus/sm8475
58+
# manifest: oneplus_10t_v.xml
59+
# android_version: android12
60+
# kernel_version: "5.10"
61+
# - model: OP10pro
62+
# soc: waipio
63+
# branch: oneplus/sm8450
64+
# manifest: oneplus_10_pro_v.xml
65+
# android_version: android12
66+
# kernel_version: "5.10"
67+
# - model: OP-ACE-2-PRO
68+
# soc: kalama
69+
# branch: oneplus/sm8550
70+
# manifest: oneplus_ace2pro_v.xml
71+
# android_version: android13
72+
# kernel_version: "5.15"
73+
# - model: OP12r
74+
# soc: kalama
75+
# branch: oneplus/sm8550
76+
# manifest: oneplus_12r_v.xml
77+
# android_version: android13
78+
# kernel_version: "5.15"
7979
uses: ./.github/workflows/build.yml
8080
secrets: inherit
8181
with:
@@ -87,82 +87,82 @@ jobs:
8787
kernel_version: ${{ matrix.kernel_version }}
8888
ksun_branch: ${{ inputs.ksun_branch }}
8989

90-
build-batch-2:
91-
# needs: build-batch-1
92-
name: build-batch-2 (${{ matrix.model }}, ${{ matrix.soc }}, ${{ matrix.branch }}, ${{ matrix.manifest }}, ${{ matrix.android_version }}, ${{ matrix.kernel_version }}, ${{ inputs.ksun_branch }})
93-
strategy:
94-
fail-fast: false
95-
matrix:
96-
include:
97-
- model: OP13
98-
soc: sun
99-
branch: oneplus/sm8750
100-
manifest: oneplus_13.xml
101-
android_version: android15
102-
kernel_version: "6.6"
103-
- model: OPAce5Pro
104-
soc: sun
105-
branch: oneplus/sm8750
106-
manifest: oneplus_ace5_pro.xml
107-
android_version: android15
108-
kernel_version: "6.6"
109-
- model: OP12
110-
soc: pineapple
111-
branch: oneplus/sm8650
112-
manifest: oneplus12_v.xml
113-
android_version: android14
114-
kernel_version: "6.1"
115-
- model: OP13r
116-
soc: pineapple
117-
branch: oneplus/sm8650
118-
manifest: oneplus_13r.xml
119-
android_version: android14
120-
kernel_version: "6.1"
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"
127-
- model: OP-ACE-3V
128-
soc: pineapple
129-
branch: oneplus/sm7675
130-
manifest: oneplus_ace_3v_v.xml
131-
android_version: android14
132-
kernel_version: "6.1"
133-
- model: OP-NORD-4
134-
soc: pineapple
135-
branch: oneplus/sm7675
136-
manifest: oneplus_nord_4_v.xml
137-
android_version: android14
138-
kernel_version: "6.1"
139-
- model: OP-PAD-2
140-
soc: pineapple
141-
branch: oneplus/sm8650
142-
manifest: oneplus_pad2_v.xml
143-
android_version: android14
144-
kernel_version: "6.1"
145-
- model: OP13S
146-
soc: sun
147-
branch: oneplus/sm8750
148-
manifest: oneplus_13s.xml
149-
android_version: android15
150-
kernel_version: "6.6"
151-
uses: ./.github/workflows/build.yml
152-
secrets: inherit
153-
with:
154-
model: ${{ matrix.model }}
155-
soc: ${{ matrix.soc }}
156-
branch: ${{ matrix.branch }}
157-
manifest: ${{ matrix.manifest }}
158-
android_version: ${{ matrix.android_version }}
159-
kernel_version: ${{ matrix.kernel_version }}
160-
ksun_branch: ${{ inputs.ksun_branch }}
90+
# build-batch-2:
91+
# # needs: build-batch-1
92+
# name: build-batch-2 (${{ matrix.model }}, ${{ matrix.soc }}, ${{ matrix.branch }}, ${{ matrix.manifest }}, ${{ matrix.android_version }}, ${{ matrix.kernel_version }}, ${{ inputs.ksun_branch }})
93+
# strategy:
94+
# fail-fast: false
95+
# matrix:
96+
# include:
97+
# - model: OP13
98+
# soc: sun
99+
# branch: oneplus/sm8750
100+
# manifest: oneplus_13.xml
101+
# android_version: android15
102+
# kernel_version: "6.6"
103+
# - model: OPAce5Pro
104+
# soc: sun
105+
# branch: oneplus/sm8750
106+
# manifest: oneplus_ace5_pro.xml
107+
# android_version: android15
108+
# kernel_version: "6.6"
109+
# - model: OP12
110+
# soc: pineapple
111+
# branch: oneplus/sm8650
112+
# manifest: oneplus12_v.xml
113+
# android_version: android14
114+
# kernel_version: "6.1"
115+
# - model: OP13r
116+
# soc: pineapple
117+
# branch: oneplus/sm8650
118+
# manifest: oneplus_13r.xml
119+
# android_version: android14
120+
# kernel_version: "6.1"
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"
127+
# - model: OP-ACE-3V
128+
# soc: pineapple
129+
# branch: oneplus/sm7675
130+
# manifest: oneplus_ace_3v_v.xml
131+
# android_version: android14
132+
# kernel_version: "6.1"
133+
# - model: OP-NORD-4
134+
# soc: pineapple
135+
# branch: oneplus/sm7675
136+
# manifest: oneplus_nord_4_v.xml
137+
# android_version: android14
138+
# kernel_version: "6.1"
139+
# - model: OP-PAD-2
140+
# soc: pineapple
141+
# branch: oneplus/sm8650
142+
# manifest: oneplus_pad2_v.xml
143+
# android_version: android14
144+
# kernel_version: "6.1"
145+
# - model: OP13S
146+
# soc: sun
147+
# branch: oneplus/sm8750
148+
# manifest: oneplus_13s.xml
149+
# android_version: android15
150+
# kernel_version: "6.6"
151+
# uses: ./.github/workflows/build.yml
152+
# secrets: inherit
153+
# with:
154+
# model: ${{ matrix.model }}
155+
# soc: ${{ matrix.soc }}
156+
# branch: ${{ matrix.branch }}
157+
# manifest: ${{ matrix.manifest }}
158+
# android_version: ${{ matrix.android_version }}
159+
# kernel_version: ${{ matrix.kernel_version }}
160+
# ksun_branch: ${{ inputs.ksun_branch }}
161161

162162
trigger-release:
163163
needs:
164164
- build-batch-1
165-
- build-batch-2
165+
# - build-batch-2
166166
runs-on: ubuntu-latest
167167
if: ${{ inputs.make_release }}
168168
env:

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ jobs:
349349
./kernel_platform/oplus/bazel/oplus_modules_variant.sh ${{ inputs.soc }} "$BUILD_TYPE" ""
350350
./kernel_platform/build_with_bazel.py -t ${{ inputs.soc }} $BUILD_TYPE "${BAZEL_ARGS[@]}" -o "$(pwd)/out"
351351
else
352-
LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} "$BUILD_TYPE"
352+
make -j$(nproc --all) LLVM=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnuabeihf- CC=clang LD=ld.lld HOSTCC=clang HOSTLD=ld.lld O=out KCFLAGS+=-Wno-error gki_defconfig all 2>&1 | tee build_$(date +"%Y_%m_%d_%H_%M_%S").log
353+
# LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} "$BUILD_TYPE"
353354
fi
354355
355356
- name: Create ZIP Files for Different Formats

0 commit comments

Comments
 (0)