forked from TechTex198/SM-G318H-Kernel-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 1.04 KB
/
Copy pathkernel4.yml
File metadata and controls
32 lines (32 loc) · 1.04 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
name: Kernel CI (SM-G318H)
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout Kernel Source
uses: actions/checkout@v3
- name: Getting Toolchain
run: |
sudo apt-get install lib32z1
sudo git clone --depth 1 --branch android-4.4.4_r2.0.1 --single-branch https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7 /opt/toolchains/arm-eabi-4.7/
- name: Building Kernel
run: |
make -j2 vivalto3mveml3g_hw00_defconfig
make -j8
- name: Moving Output # CI only
run: |
mkdir -p /home/runner/work/output
cp arch/arm/boot/zImage /home/runner/work/output/zImage
find . -name "*.ko" -exec cp {} /home/runner/work/output/ \;
- name: Uploading Output
uses: actions/upload-artifact@v3
with:
name: zImage
path: /home/runner/work/output/zImage
- name: Uploading Modules
uses: actions/upload-artifact@v3
with:
name: modules
path: /home/runner/work/output/*.ko