-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc36a19
commit 6873dba
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
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,32 @@ | ||
name: Kernel CI (SM-J700F) | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout Kernel Source | ||
uses: actions/checkout@v2 | ||
|
||
- name: Getting Toolchain | ||
run: | | ||
sudo apt-get install lib32z1 ccache | ||
sudo git clone --depth 1 --branch android-13.0.0_r0.52 --single-branch https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 /opt/toolchains/aarch64-linux-android-4.9/ | ||
- name: Building Kernel | ||
run: | | ||
export KBUILD_BUILD_USER=notnoelchannel | ||
export KBUILD_BUILD_HOST=unlegacy-devices | ||
make -j22 ARCH=arm64 lineageos_j7elte_defconfig | ||
make -j128 | ||
- name: Moving Output # CI only | ||
run: | | ||
mkdir -p /home/runner/work/output | ||
cp arch/arm64/boot/Image /home/runner/work/output/zImage | ||
- name: Uploading Output | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: zImage | ||
path: /home/runner/work/output/zImage |