Skip to content

Commit

Permalink
Added : workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindu644 committed Mar 12, 2024
1 parent 096f571 commit 945e913
Show file tree
Hide file tree
Showing 6 changed files with 4,461 additions and 71 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
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
Loading

0 comments on commit 945e913

Please sign in to comment.