This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Merge tag 'ASB-2021-09-05_4.14-q' into Grass-Unified #55
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
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* | |