-
Notifications
You must be signed in to change notification settings - Fork 10
/
.drone.yml
32 lines (32 loc) · 1.57 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
---
clone:
depth: 1
kind: pipeline
name: RyuuPipeline
concurrency:
limit: 6
steps:
-
environment:
BOT_TOKEN:
from_secret: BOT_TOKEN
GIT_SECRET:
from_secret: GIT_SECRET
GIT_SECRETB:
from_secret: GIT_SECRETB
GIT_USERNAME:
from_secret: GIT_USERNAME
SDCLANGPASS:
from_secret: SDCLANGPASS
GDRIVEKEYPASS:
from_secret: GDRIVEKEYPASS
image: ubuntu:jammy-20211029
name: RyuujiX-Build
commands:
- cp -af sources.list /etc/apt/
- cp -af 99own /etc/apt/apt.conf.d/
- apt-get autoremove -y && apt-get --purge remove -y && apt-get autoclean -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
- dpkg-reconfigure -a && dpkg --configure -a
- ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime && date
- apt-get -y install -f cpio gcc llvm lld g++-multilib python2 clang git libxml2 python3-pip gcc llvm lld g++-multilib clang default-jre git automake lzop bison gperf build-essential zip curl zlib1g-dev g++-multilib libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng bc libstdc++6 libncurses5 wget python3 python3-pip gcc clang libssl-dev rsync flex git-lfs libz3-dev libz3-4 axel tar bc binutils-dev bison build-essential ca-certificates ccache clang cmake curl file flex git libelf-dev libssl-dev lld make ninja-build python3-dev texinfo u-boot-tools xz-utils zlib1g-dev && python3 -m pip install networkx && pip3 install --upgrade gupload
- "bash ./do-main.sh"