forked from CruelKernel/samsung-exynos9820
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (54 loc) · 1.87 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
model: [ "G973F", "G975", "G970" ]
steps:
- uses: actions/checkout@v1
- 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: Clone Submodules
run: git submodule update --init --recursive
- name: Kernel Configure
run: |
./build config \
model=${{ matrix.model}} \
os_patch_level=2099-12 \
name="LOS-Rom-Kernel" \
+magisk \
+nohardening \
+ttl \
+wireguard \
+cifs \
+sdfat \
+ntfs \
+morosound \
+boeffla_wl_blocker \
+always_permit \
+300hz \
2>&1 | tee config.info
- name: Kernel Build
run: ./build :build
- name: Create boot.img
run: ./build :mkimg
- name: Upload Kernel
uses: actions/upload-artifact@v2
with:
name: AOSPKernel-${{ matrix.model }}
path: boot.img
- name: Upload Kernel Info
uses: actions/upload-artifact@v2
with:
name: ConfigurationInfo-${{ matrix.model }}
path: config.*