This repository targets π― to compile OEM (e.g. Xiaomi, Samsung, Motorola, etc. ) android kernel source package π¦ using GitHub Actions.
.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
- Fork π£ this repository.
- Navigate π§ to Actions tab.
- Select a workflow seen π there.
- Fill all asked details π»ββοΈ.
- Run that workflow and see the magic πͺ.
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/>.