Skip to content

Build Android Kernel With GitHub Actions | Currently, mapped for building only for Redmi 9A (dandelion) kernel

License

Notifications You must be signed in to change notification settings

techdiwas/kernel-build-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Kernel Build Actions


This repository targets 🎯 to compile OEM (e.g. Xiaomi, Samsung, Motorola, etc. ) android kernel source package πŸ“¦ using GitHub Actions.



πŸ“ Repository Structure

.github/
β”œβ”€β”€ workflows/
β”‚   └── build-kernel.yml          # Main workflow orchestration
β”œβ”€β”€ actions/                      # Reusable action components
β”‚   β”œβ”€β”€ prep-env/                 # Build environment setup
β”‚   β”œβ”€β”€ config-toolchain/         # Toolchain download and caching
β”‚   β”œβ”€β”€ fetch-kernel/             # Kernel source fetching
β”‚   β”œβ”€β”€ build-kernel/             # Kernel compilation
β”‚   └── upload-artifact/          # Upload built artifacts
└── scripts/
    └── build-kernel              # Core build script with error handling


😲 How to use:

  • Fork 🎣 this repository.
  • Navigate 🧭 to Actions tab.
  • Select a workflow seen πŸ™‰ there.
  • Fill all asked details πŸ»β€β„οΈ.
  • Run that workflow and see the magic πŸͺ„.


πŸ“ƒ License

    kernel-build-actions: GitHub Actions to build an Android kernel.
    Copyright (C) 2025  Diwas Neupane (techdiwas)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

Build Android Kernel With GitHub Actions | Currently, mapped for building only for Redmi 9A (dandelion) kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published