forked from CruelKernel/samsung-exynos9820
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (55 loc) · 1.76 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
59
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
model: [ "G973F" ]
steps:
- uses: actions/checkout@v1
- name: Install mkbootimg (osm0sis)
run: |
wget https://github.com/osm0sis/mkbootimg/archive/master.zip
unzip master.zip
cd mkbootimg-master
sed -i -e 's/-Werror//g' Makefile
make
sudo mv mkbootimg /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}} \
name=CRUEL-V3.3 \
+magisk \
+nohardening \
+ttl \
+wireguard \
+cifs \
+sdfat \
+ntfs \
+morosound \
+boeffla_wl_blocker
- name: Show information about build
run: cat build.info
- name: Kernel Build
run: ./build :build
- name: Create boot.img
run: ./build :mkimg
- name: Upload Kernel
uses: actions/upload-artifact@v1
with:
name: CruelKernel-${{ matrix.model }}
path: boot.img
- name: Upload Kernel Info
uses: actions/upload-artifact@v1
with:
name: ConfigurationInfo-${{ matrix.model }}
path: build.info