forked from ThunderStorms21th/Galaxy-S10
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1.1 KB
/
main.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
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install mkbootimg
run: |
wget -q https://android.googlesource.com/platform/system/tools/mkbootimg/+archive/refs/heads/master.tar.gz -O - | tar xzf - mkbootimg.py
chmod +x mkbootimg.py
sudo mv mkbootimg.py /usr/local/bin/mkbootimg
- name: Install avbtool
run: |
wget -q https://android.googlesource.com/platform/external/avb/+archive/refs/heads/android10-dev.tar.gz -O - | tar xzf - avbtool
chmod +x avbtool
sudo mv avbtool /usr/local/bin/avbtool
- name: Install toolchain
run: |
git submodule deinit --force --all
rm -fr toolchain
git add .
mkdir toolchain
git submodule add --branch arter97 https://github.com/CruelKernel/samsung-exynos9820-toolchain toolchain/arter97
- name: Kernel Build
run: echo 8 | ./ts-build-clang-12.sh
- name: Upload Kernel Zip
uses: actions/upload-artifact@v2د4
with:
name: ThunderStormsKernel
path: ./builds/*.zip