forked from radcolor/android_kernel_xiaomi_whyred
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.drone.yml
64 lines (56 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
kind: pipeline
name: RAD KERNEL BUILD OLDCAM
clone:
disable: true
steps:
- name: oldcam
image: archlinux:latest
environment:
TG_BOT_API:
from_secret: TG_BOT_API
commands:
- "export TG_BOT_API"
- pacman -Sy base-devel bc llvm curl zip wget git --noconfirm
- git clone --depth=1 --quiet https://github.com/Team-420/Nethunter-Whyred-Eas.git -b kernel-eas source
- cd source
- git clone --depth=1 --quiet https://github.com/theradcolor/lazyscripts.git -b master
- sed -i "s/token=.*/token=$TG_BOT_API/g" lazyscripts/ci-scripts/ci-rad
- script -c "bash -x build.sh --oldcam" build.log
---
kind: pipeline
name: RAD KERNEL BUILD NEWCAM
clone:
disable: true
steps:
- name: newcam
image: archlinux:latest
environment:
TG_BOT_API:
from_secret: TG_BOT_API
commands:
- "export TG_BOT_API"
- pacman -Sy base-devel bc llvm curl zip wget git --noconfirm
- git clone --depth=1 --quiet https://github.com/Team-420/Nethunter-Whyred-Eas.git -b kernel-eas source
- cd source
- git clone --depth=1 --quiet https://github.com/theradcolor/lazyscripts.git -b master
- sed -i "s/token=.*/token=$TG_BOT_API/g" lazyscripts/ci-scripts/ci-rad
- script -c "bash -x build.sh --newcam" build.log
---
kind: pipeline
name: FAKERAD KERNEL BUILD
clone:
disable: true
steps:
- name: fakerad
image: archlinux:latest
environment:
TG_BOT_API:
from_secret: TG_BOT_API
commands:
- "export TG_BOT_API"
- pacman -Sy base-devel bc llvm curl zip wget git --noconfirm
- git clone --depth=1 --quiet https://github.com/theradcolor/android_kernel_xiaomi_whyred.git -b ${DRONE_COMMIT_BRANCH} source
- cd source
- git clone --depth=1 --quiet https://github.com/theradcolor/lazyscripts.git -b master
- sed -i "s/BOT_TOKEN=.*/BOT_TOKEN=$TG_BOT_API/g" lazyscripts/ci-scripts/ci-fake
- script -c "bash -x lazyscripts/ci-scripts/ci-fake --aosp-clang" build.log