forked from PixelExperience-Devices/kernel_oneplus_msm8998
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdrone.yml
54 lines (49 loc) · 1.84 KB
/
drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
kind: pipeline
name: weeb_kernel_oneplus_msm8998_ci
platform:
os: linux
arch: amd64
clone:
depth: 1
steps:
- name: build_beta_kernel
image: ubuntu:latest
environment:
PERSONAL_CHANNEL_ID:
from_secret: stable_channel_id
CI_CHANNEL_ID:
from_secret: ci_channel_id
KERNEL_CHAT_ID:
from_secret: kernel_chat_id
BOT_API_KEY:
from_secret: bot_api_key
commands:
- apt-get update && apt-get install -y bison build-essential bc bison curl libssl-dev git zip python
- git clone https://github.com/idkwhoiam322/scripts.git -b build_kernel script && cd script
- bash dronesetup.sh --gcc
- export DEFCONFIG=weebcustom_defconfig && export BUILDFOR=custom && bash dronepersonal.sh --gcc --beta
- export DEFCONFIG=weebcustom_defconfig && export BUILDFOR=custom && bash dronekernel.sh --gcc --custom --beta --post
- export DEFCONFIG=weeb_defconfig && export BUILDFOR=oos && bash dronekernel.sh --gcc --oos --beta
when:
branch:
- android10-4.4
- name: build_stable_kernel
image: ubuntu:latest
environment:
CI_CHANNEL_ID:
from_secret: stable_channel_id
KERNEL_CHAT_ID:
from_secret: stable_channel_id
BOT_API_KEY:
from_secret: bot_api_key
RELEASE_VERSION: "2.54"
RELEASE_CODENAME: "CAESAR"
commands:
- apt-get update && apt-get install -y bison build-essential bc bison curl libssl-dev git zip
- git clone https://github.com/idkwhoiam322/scripts.git -b build_kernel script && cd script
- bash dronesetup.sh --gcc
- export DEFCONFIG=weebcustom_defconfig && export BUILDFOR=custom && bash dronekernel.sh --gcc --custom --stable --post
- export DEFCONFIG=weeb_defconfig && export BUILDFOR=oos && bash dronekernel.sh --gcc --oos --stable
when:
branch:
- pie