Skip to content

.github/workflows: Setup swap and stat showing #15

.github/workflows: Setup swap and stat showing

.github/workflows: Setup swap and stat showing #15

Workflow file for this run

name: Test build kernel
on:
push:
branches:
lineage-20.0
pull_request:
branches:
lineage-20.0
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/[email protected]
with:
fetch-depth: 1
- name: Setup swap space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 12
- name: Show stats
run: |
echo "nproc: $(nproc --all)"
free -h
- name: Install packages & setup
run: |
sudo apt update
bash <(curl https://gist.githubusercontent.com/roynatech2544/0feeeb35a6d1782b186990ff2a0b3657/raw/b170134a94dac3594df506716bc7b802add2724b/setup.sh)
sudo apt install bison flex libssl-dev
cp local.config.sample local.config
echo "OBJ=arch/arm64/boot/Image" >> local.config
- name: Run build
run: |
bash build_kernel.sh
- name: Upload kernel
uses: actions/[email protected]
with:
name: GrassKernel.zip
path: scripts/packaging/Grass*