Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Commit cd93dfe

Browse files
committed
veux: introduce paimon kernel to auto build
Signed-off-by: Onelots <onelots@onelots.fr>
1 parent 3e092aa commit cd93dfe

2 files changed

Lines changed: 18 additions & 25 deletions

File tree

.github/workflows/kernel_sm8150_build.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Build KernelSU-Next for OnePlus-7-Serie
33
on:
44
push:
55
branches:
6-
- sm8150
6+
- veux
77
pull_request:
88
branches:
9-
- sm8150
9+
- veux
1010
workflow_dispatch:
1111

1212
jobs:
@@ -20,29 +20,22 @@ jobs:
2020

2121
- name: ⚡ Checkout kernel's sourcecode and clone submodules
2222
run: |
23-
git clone --depth=1 https://github.com/Evolution-X-Devices/kernel_oneplus_sm8150 kernel_oneplus_sm8150 -b vic
23+
git clone --depth=1 https://github.com/Evolution-X-Devices/kernel_xiaomi_veux kernel_xiaomi_veux -b vic
2424
2525
- name: 📅 Export date of build
2626
run: |
2727
echo "DATE=$(date +%d%m%Y)" >> $GITHUB_ENV
2828
2929
- name: 🔄 Update KernelSU-Next
3030
run: |
31-
cd kernel_oneplus_sm8150
31+
cd kernel_xiaomi_veux
3232
rm -rf KernelSU-Next
33-
git clone https://github.com/KernelSU-Next/KernelSU-Next -b v1.0.6
34-
35-
36-
- name: 📥 Clone AnyKernel3
37-
run: |
38-
cd kernel_oneplus_sm8150
39-
git clone -b oneplus-7 --depth=1 https://github.com/Oneloutre/AnyKernel3.git anykernel
40-
rm -rf anykernel/.git
33+
git clone https://github.com/KernelSU-Next/KernelSU-Next -b v1.0.7
4134
4235
- name: 🔍 Device's codename and kernel's version
4336
run: |
44-
cd kernel_oneplus_sm8150
45-
DEVICE_CODENAME=OnePlus-7-Serie
37+
cd kernel_xiaomi_veux
38+
DEVICE_CODENAME=Veux
4639
KERNEL_VERSION=$(make kernelversion)
4740
4841
echo "Device Codename: $DEVICE_CODENAME"
@@ -58,12 +51,12 @@ jobs:
5851

5952
- name: 🛠️ Build the kramel
6053
run: |
61-
./build.sh OnePlus-7-Serie
54+
./build.sh Veux
6255
6356
- name: 🚀 Copy the compiled kernel to AnyKernel3 then create the zip
6457
run: |
65-
cd kernel_oneplus_sm8150
66-
ZIP_NAME="Kernel-Caelum-${DEVICE_CODENAME}-${KERNEL_VERSION}-$(date +%d%m%Y).zip"
58+
cd kernel_xiaomi_veux
59+
ZIP_NAME="Kernel-Paimon-${DEVICE_CODENAME}-${KERNEL_VERSION}-$(date +%d%m%Y).zip"
6760
6861
cp out/arch/arm64/boot/Image-dtb anykernel/
6962
@@ -75,7 +68,7 @@ jobs:
7568
- name: 🤌 Copy zip file to get 2 different zip files
7669
run: |
7770
78-
ZIP_ALTERNATIVE="KernelSU-Next-Caelum-${DEVICE_CODENAME}-latest.zip"
71+
ZIP_ALTERNATIVE="KernelSU-Next-Paimon-${DEVICE_CODENAME}-latest.zip"
7972
cp ${ZIP_NAME} $ZIP_ALTERNATIVE
8073
8174
echo "Copied ${ZIP_NAME} as $ZIP_ALTERNATIVE"
@@ -93,7 +86,7 @@ jobs:
9386
uses: softprops/action-gh-release@v2
9487
with:
9588
files: ${{ env.ZIP_NAME }}
96-
tag_name: Kernel-Caelum-${{ env.DEVICE_CODENAME }}-${{ env.KERNEL_VERSION }}-${{ env.DATE }}
89+
tag_name: Kernel-Paimonk-${{ env.DEVICE_CODENAME }}-${{ env.KERNEL_VERSION }}-${{ env.DATE }}
9790
draft: false
9891
prerelease: false
9992

@@ -107,9 +100,9 @@ jobs:
107100

108101
- name: 🚀 Notify people on Discord
109102
env:
110-
DEVICE_CODENAME: OnePlus-7-Serie
111-
KERNEL_VERSION: 4.14.355
103+
DEVICE_CODENAME: Veux
104+
KERNEL_VERSION: 5.4
112105
WEBHOOK: ${{ secrets.WEBHOOK }}
113-
NAME: Kernel-Caelum-OnePlus-7-Serie-4.14.355.zip
106+
NAME: Kernel-Paimon-Veux-5.4.zip
114107
run: |
115108
python3 .github/webhook.py

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ -z "$DEVICE_CODENAME" ]; then
1010
exit 1
1111
fi
1212

13-
cd kernel_oneplus_sm8150
13+
cd kernel_xiaomi_veux
1414

1515
# Export required variables
1616
export ARCH=arm64
@@ -19,10 +19,10 @@ export KBUILD_COMPILER_STRING=$(clang --version | head -n 1)
1919
export CCACHE_EXEC=$(which ccache)
2020
export KBUILD_BUILD_HOST="Caelum-Github-actions-Onelots"
2121
export LLVM_IAS=1
22-
echo "CONFIG_BUILD_ARM64_DT_OVERLAY=y" >> lineage_sm8150_defconfig
22+
echo "CONFIG_BUILD_ARM64_DT_OVERLAY=y" >> veux_defconfig
2323

2424
# Configure kernel
25-
make O=out ARCH=arm64 lineage_sm8150_defconfig vendor/kernelsu.config
25+
make O=out ARCH=arm64 veux_defconfig vendor/kernelsu.config
2626
yes "" | make O=out ARCH=arm64 olddefconfig
2727

2828
# Build kernel

0 commit comments

Comments
 (0)