Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Kernel Build

on:
workflow_dispatch: # lets you start the build manually from the Actions tab

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y git wget curl build-essential bc bison flex libssl-dev \
libncurses5-dev libncursesw5-dev python3 python3-pip zip unzip

- name: Set up kernel toolchain
run: |
git clone https://github.com/kdrag0n/proton-clang.git --depth=1 clang

- name: Build kernel
run: |
export PATH=$GITHUB_WORKSPACE/clang/bin:$PATH
export ARCH=arm64
export SUBARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export CROSS_COMPILE_ARM32=arm-linux-gnueabi-
make O=out ARCH=arm64 vendor/lime_defconfig
make -j$(nproc) O=out ARCH=arm64

- name: Upload kernel zip
uses: actions/upload-artifact@v3
with:
name: lime-kernel
path: out/arch/arm64/boot/Image.gz-dtb