-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: Differ kernel compile checks
Ref: #22 Signed-off-by: Saalim Quadri <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/workflows/test_compile.yml → .github/workflows/android_kernel_compile.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Compile Kernel | ||
name: Compile Android Kernel | ||
on: | ||
[push, pull_request] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Compile Mainline 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: | | ||
git clone https://github.com/danascape/sworkflow $HOME/sworkflow | ||
./setup.sh i | ||
- name: Compile Kernel | ||
run: | | ||
bash tests/compile_test.sh |