-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (33 loc) · 1004 Bytes
/
android_kernel_compile.yml
File metadata and controls
42 lines (33 loc) · 1004 Bytes
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
name: Compile Version V3.18 Android Kernel
on:
[push, pull_request]
jobs:
compile-kernel:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Update the system
run: |
sudo apt update -y
- name: Upgrade the system
run: |
sudo apt upgrade -y
- name: Install dependencies
run: |
sudo apt -y install bc build-essential zip curl libstdc++6 git wget python3 gcc clang libssl-dev rsync flex bison device-tree-compiler sudo
- name: Install additional dependencies
run: |
curl https://raw.githubusercontent.com/akhilnarang/scripts/master/setup/android_build_env.sh | sh
- name: Install sworkflow
run: |
./setup.sh i
- name: Check sworkflow
run: |
which sw
- name: Compile Kernel
run: |
bash tests/build/arm64_compile_test.sh