-
Notifications
You must be signed in to change notification settings - Fork 5
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
096f571
commit 945e913
Showing
6 changed files
with
4,461 additions
and
71 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,39 @@ | ||
name: build and release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version number' | ||
required: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install packages & setup | ||
run: | | ||
sudo apt update -y | ||
sudo apt install wget default-jdk git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev x11proto-core-dev libx11-dev libreadline6-dev libgl1-mesa-glx libgl1-mesa-dev python3 make sudo gcc g++ bc grep tofrodos python3-markdown libxml2-utils xsltproc zlib1g-dev libncurses5 python-is-python3 libc6-dev libtinfo5 ncurses-dev make python2 repo cpio kmod openssl libelf-dev pahole libssl-dev libelf-dev -y | ||
bash init_clang_12.sh | ||
- name: Set environment variable | ||
run: | | ||
echo "KERNEL_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV | ||
- name: Run build | ||
run: | | ||
export PATH=$HOME/:$PWD/toolchain/proton-clang/bin:$PATH | ||
bash build_kernel.sh -c | ||
- name: Upload kernel | ||
uses: actions/[email protected] | ||
with: | ||
name: "LPoS ${{ env.KERNEL_VERSION }} [S10e]" | ||
path: out/*.xz |
Oops, something went wrong.