Skip to content

Commit dd459d7

Browse files
committed
Add OnePlus 10T support
1 parent d8f0302 commit dd459d7

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
build-kernel-opace5:
4242
uses: ./.github/workflows/opace5.yml
4343
secrets: inherit
44+
build-kernel-op10t:
45+
uses: ./.github/workflows/op10t.yml
46+
secrets: inherit
4447

4548
trigger-release:
4649
runs-on: ubuntu-latest
@@ -54,6 +57,7 @@ jobs:
5457
- build-kernel-opace2
5558
- build-kernel-opace2pro
5659
- build-kernel-opace5
60+
- build-kernel-op10t
5761
if: ${{ inputs.make_release }}
5862
env:
5963
REPO_OWNER: TheWildJames

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
echo "Initializing and syncing kernel source..."
8383
repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
8484
85+
if [[ "${{ inputs.model }}" == "OP10t" ]]; then
86+
sed -i -E '/remote="origin"/s/oneplus\/sm8475_v_15.0.0_oneplus_11r/oneplus\/sm8475_v_15.0.0_oneplus_10t/' .repo/manifests/${{ inputs.manifest }}
87+
fi
88+
8589
# Sync repo and apply patches
8690
repo --version
8791
repo --trace sync -c -j$(nproc --all) --no-tags --fail-fast

.github/workflows/op10t.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: OP10t
2+
permissions:
3+
contents: write # Allow writing to repository contents (for pushing tags)
4+
actions: write # Allows triggering actions
5+
6+
on:
7+
workflow_call: # This allows this workflow to be called from another workflow
8+
9+
jobs:
10+
build-kernel-op10t-kernelsu-susfs:
11+
uses: ./.github/workflows/build.yml
12+
secrets: inherit
13+
with:
14+
model: "OP10t"
15+
soc: "waipio"
16+
branch: "oneplus/sm8475"
17+
manifest: "oneplus_11r_v.xml"
18+
android_version: "android12"
19+
kernel_version: "5.10"

0 commit comments

Comments
 (0)