Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Test build kernel

Test build kernel #57

Workflow file for this run

name: Test build kernel
on:
push:
branches:
Grass-Unified
pull_request:
branches:
Grass-Unified
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
include:
- device: a51
- device: m21
- device: m31
- device: m31s
- device: f41
name: "🚧 Build for ${{matrix.device}}"
steps:
- name: Checkout source
uses: actions/[email protected]
with:
fetch-depth: 1
- 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: |
DEVICE=${{matrix.device}} bash build_kernel.sh
- name: Upload kernel
uses: actions/[email protected]
with:
name: GrassKernel_${{matrix.device}}.zip
path: scripts/packaging/Grass*