forked from radcolor/android_kernel_xiaomi_whyred
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
42 lines (37 loc) · 1.37 KB
/
.drone.yml
File metadata and controls
42 lines (37 loc) · 1.37 KB
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
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/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-rad
- script -c "bash -x lazyscripts/ci-scripts/ci-rad --oldcam --aosp-clang" 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/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-rad
- script -c "bash -x lazyscripts/ci-scripts/ci-rad --newcam --aosp-clang" build.log