Skip to content

Build Kernel

Build Kernel #121

Workflow file for this run

name: build kernel
on:
push:
branches:
Grass
pull_request:
branches:
Grass
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
device: [a51, m21, m31, m31s, f41]
rom: [aosp, oneui]
name: "🚧 ${{matrix.device}} ${{matrix.rom}} KSU=${{matrix.ksu}}"
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install packages & setup
run: |
sudo apt update
sudo apt install bison flex libssl-dev python3 python-is-python3 libarchive-tools -y
mkdir -p toolchain
cd toolchain
echo 'Download antman and sync'
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S=05012024
echo 'Patch for glibc'
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") --patch=glibc
echo 'Done'
- name: Run build
run: |

Check failure on line 40 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build kernel

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 40, Col: 14): Unrecognized named-value: 'rom'. Located at position 1 within expression: rom
python build_kernel.py --target=${{matrix.device}} --${{rom}}
- name: Upload to Telegram
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_KEY }}
document: ./Grass*.zip
message: "Grass Kernel Build For ${{matrix.device}} ${{matrix.rom}} Completed"