-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
credits to @itsHanibee for script ref
- Loading branch information
Showing
1 changed file
with
36 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,36 @@ | ||
name: Build Kernel on GitHub Actions | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Update Environment | ||
run: sudo apt update -y && sudo apt upgrade -y | ||
|
||
- name: Install Dependencies | ||
run: | | ||
sudo apt install -y git-core gnupg flex bc bison build-essential zip \ | ||
curl zlib1g-dev g++-multilib libc6-dev-i386 lib32ncurses5-dev \ | ||
xsltproc unzip python2 python3 python3-pip python3-dev \ | ||
python-is-python3 schedtool ccache libtinfo5 libncurses5 lzop tmux \ | ||
patchelf git-lfs ripgrep clang-11 &> /dev/null | ||
- name: Download Neutron Toolchain | ||
run: bash build.sh --tools | ||
|
||
- name: Build Nova | ||
run: bash build.sh --build | ||
|
||
- name: Upload kernel | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: NoVA-Begonia-4.14 | ||
path: NoVA-*.zip |