Skip to content

Commit

Permalink
build-ci: Create new workflow
Browse files Browse the repository at this point in the history
credits to @itsHanibee for script ref
  • Loading branch information
Wahid7852 authored Aug 28, 2023
1 parent 350ac71 commit e57d6d7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-kernel.yml
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

0 comments on commit e57d6d7

Please sign in to comment.