Skip to content

Commit 9e70f2e

Browse files
author
edhic1
committed
fix build-kernel.yml
1 parent 6de998a commit 9e70f2e

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

.github/workflows/build-kernel.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,3 @@
1-
################################################################################
2-
# Advanced / “Complex” Android Kernel Build Workflow (Plan C Primary: Clang + GCC binutils)
3-
#
4-
# Key Features:
5-
# - Matrix over requested build “targets” (ksun / suki etc.) with per-target env configs
6-
# - Plan C: Clang primary + optional GCC (64/32) binutils; fallback to pure GCC if chosen
7-
# - Strong validation (toolchain guards, config file presence)
8-
# - Automatic detection & FAIL for stray literal 'false' token in compile lines
9-
# - Optional suppression wrapper (can be enabled via input if you want to ignore 'false')
10-
# - CCache support
11-
# - Toolchain caching (actions/cache) to avoid re‑downloading between runs
12-
# - Optional “release build” switch: creates a GitHub Release (draft) with artifacts
13-
# - Optional Kconfig patching / KernelSU / KPM / AnyKernel3 packaging
14-
# - Rich job summary (markdown) showing build metadata & artifact sizes
15-
# - Separate “prepare-toolchains” job to avoid repeated downloads for matrix
16-
# - Diagnostics: environment dump, defconfig diff, grep for cc-option misuse
17-
#
18-
# Usage:
19-
# 1. Provide per-target env files: config-ksun.env, config-suki.env, etc.
20-
# 2. Only put “clean” variable assignments (KEY=VALUE) in those files.
21-
# 3. Run workflow manually via Workflow Dispatch.
22-
#
23-
# Notes:
24-
# - The “false” token error you encountered is trapped early; you *must* fix the
25-
# offending cc-option usage in the kernel tree. The workflow will exit with a
26-
# human-readable report pointing to possible files.
27-
# - To temporarily bypass (NOT recommended) you can set the dispatch input
28-
# allow_false_wrapper: true (adds a wrapper that strips literal `false` args).
29-
################################################################################
30-
311
name: Complex Kernel Build
322

333
on:

0 commit comments

Comments
 (0)