|
@@ -6,12 +6,24 @@ permissions:
|
|
|
on:
|
|
on:
|
|
|
workflow_call:
|
|
workflow_call:
|
|
|
inputs:
|
|
inputs:
|
|
|
|
|
+ android_version:
|
|
|
|
|
+ required: true
|
|
|
|
|
+ type: string
|
|
|
kernel_version:
|
|
kernel_version:
|
|
|
required: true
|
|
required: true
|
|
|
type: string
|
|
type: string
|
|
|
|
|
+ sublevel:
|
|
|
|
|
+ required: true
|
|
|
|
|
+ type: string
|
|
|
|
|
+ os_patch_level:
|
|
|
|
|
+ required: true
|
|
|
|
|
+ type: string
|
|
|
variant:
|
|
variant:
|
|
|
required: false
|
|
required: false
|
|
|
type: string
|
|
type: string
|
|
|
|
|
+ config_variant:
|
|
|
|
|
+ required: false
|
|
|
|
|
+ type: string
|
|
|
feature_set:
|
|
feature_set:
|
|
|
required: true
|
|
required: true
|
|
|
type: string
|
|
type: string
|
|
@@ -21,7 +33,7 @@ on:
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
build-gki:
|
|
build-gki:
|
|
|
- name: "${{ inputs.kernel_version }} (${{ inputs.variant }})"
|
|
|
|
|
|
|
+ name: "${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ inputs.sublevel }}-${{ inputs.os_patch_level }} (${{ inputs.variant }} / ${{ inputs.config_variant || 'base' }})"
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
timeout-minutes: 60
|
|
timeout-minutes: 60
|
|
|
|
|
|
|
@@ -29,12 +41,6 @@ jobs:
|
|
|
- name: Checkout Repository
|
|
- name: Checkout Repository
|
|
|
uses: actions/checkout@v5
|
|
uses: actions/checkout@v5
|
|
|
|
|
|
|
|
- - name: Parse kernel version
|
|
|
|
|
- id: parse
|
|
|
|
|
- uses: ./.github/actions/parse-kernel-version
|
|
|
|
|
- with:
|
|
|
|
|
- kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
-
|
|
|
|
|
- name: Free Disk Space
|
|
- name: Free Disk Space
|
|
|
if: false
|
|
if: false
|
|
|
uses: endersonmenezes/free-disk-space@v3 # Use @main for latest, @v3 for stable
|
|
uses: endersonmenezes/free-disk-space@v3 # Use @main for latest, @v3 for stable
|
|
@@ -64,24 +70,29 @@ jobs:
|
|
|
- name: Download Kernel Repository
|
|
- name: Download Kernel Repository
|
|
|
uses: ./.github/actions/download-kernel
|
|
uses: ./.github/actions/download-kernel
|
|
|
with:
|
|
with:
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
- os_patch_level: ${{ steps.parse.outputs.os_patch_level }}
|
|
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ os_patch_level: ${{ inputs.os_patch_level }}
|
|
|
use_repo: ${{ inputs.use_repo }}
|
|
use_repo: ${{ inputs.use_repo }}
|
|
|
|
|
|
|
|
- name: Extract Sublevel and Set File Name
|
|
- name: Extract Sublevel and Set File Name
|
|
|
id: extract
|
|
id: extract
|
|
|
uses: ./.github/actions/extract-sublevel-file-name
|
|
uses: ./.github/actions/extract-sublevel-file-name
|
|
|
with:
|
|
with:
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ sublevel: ${{ inputs.sublevel }}
|
|
|
|
|
+ os_patch_level: ${{ inputs.os_patch_level }}
|
|
|
variant: ${{ inputs.variant }}
|
|
variant: ${{ inputs.variant }}
|
|
|
|
|
+ config_variant: ${{ inputs.config_variant }}
|
|
|
|
|
|
|
|
- name: Kernel Fixes
|
|
- name: Kernel Fixes
|
|
|
uses: ./.github/actions/kernel-fixes
|
|
uses: ./.github/actions/kernel-fixes
|
|
|
with:
|
|
with:
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
|
- os_patch_level: ${{ steps.parse.outputs.os_patch_level }}
|
|
|
|
|
|
|
+ os_patch_level: ${{ inputs.os_patch_level }}
|
|
|
|
|
|
|
|
- name: Setup KernelSU-Next
|
|
- name: Setup KernelSU-Next
|
|
|
if: contains(inputs.feature_set, 'KSUN') || inputs.feature_set == 'FULL'
|
|
if: contains(inputs.feature_set, 'KSUN') || inputs.feature_set == 'FULL'
|
|
@@ -91,9 +102,9 @@ jobs:
|
|
|
if: contains(inputs.feature_set, 'SUSFS') || inputs.feature_set == 'FULL'
|
|
if: contains(inputs.feature_set, 'SUSFS') || inputs.feature_set == 'FULL'
|
|
|
uses: ./.github/actions/susfs
|
|
uses: ./.github/actions/susfs
|
|
|
with:
|
|
with:
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
- os_patch_level: ${{ steps.parse.outputs.os_patch_level }}
|
|
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ os_patch_level: ${{ inputs.os_patch_level }}
|
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
|
|
|
|
|
|
- name: Baseband Guard
|
|
- name: Baseband Guard
|
|
@@ -104,32 +115,33 @@ jobs:
|
|
|
if: contains(inputs.feature_set, 'NET') || inputs.feature_set == 'FULL'
|
|
if: contains(inputs.feature_set, 'NET') || inputs.feature_set == 'FULL'
|
|
|
uses: ./.github/actions/networking
|
|
uses: ./.github/actions/networking
|
|
|
with:
|
|
with:
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
|
|
|
|
|
- name: DroidSpaces-OSS Patches
|
|
- name: DroidSpaces-OSS Patches
|
|
|
if: contains(inputs.feature_set, 'DS') || inputs.feature_set == 'FULL'
|
|
if: contains(inputs.feature_set, 'DS') || inputs.feature_set == 'FULL'
|
|
|
uses: ./.github/actions/droidspaces
|
|
uses: ./.github/actions/droidspaces
|
|
|
with:
|
|
with:
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
|
|
|
- name: Setup Misc Configs
|
|
- name: Setup Misc Configs
|
|
|
uses: ./.github/actions/misc
|
|
uses: ./.github/actions/misc
|
|
|
with:
|
|
with:
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
|
|
|
+ config_variant: ${{ inputs.config_variant }}
|
|
|
|
|
|
|
|
- name: Apply Module Check Bypass
|
|
- name: Apply Module Check Bypass
|
|
|
if: ${{ inputs.variant == 'Bypass' }}
|
|
if: ${{ inputs.variant == 'Bypass' }}
|
|
|
uses: ./.github/actions/module-check-bypass
|
|
uses: ./.github/actions/module-check-bypass
|
|
|
with:
|
|
with:
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
|
|
|
- name: Apply Device-Specific Patches
|
|
- name: Apply Device-Specific Patches
|
|
|
uses: ./.github/actions/apply-device-patches
|
|
uses: ./.github/actions/apply-device-patches
|
|
|
with:
|
|
with:
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
|
|
|
- name: Apply ABI Compare Bypass
|
|
- name: Apply ABI Compare Bypass
|
|
|
if: false
|
|
if: false
|
|
@@ -155,8 +167,8 @@ jobs:
|
|
|
uses: ./.github/actions/apply-kernel-branding
|
|
uses: ./.github/actions/apply-kernel-branding
|
|
|
with:
|
|
with:
|
|
|
variant: ${{ inputs.variant }}
|
|
variant: ${{ inputs.variant }}
|
|
|
- kernel_version: ${{ steps.parse.outputs.kernel_version }}
|
|
|
|
|
- android_version: ${{ steps.parse.outputs.android_version }}
|
|
|
|
|
|
|
+ kernel_version: ${{ inputs.kernel_version }}
|
|
|
|
|
+ android_version: ${{ inputs.android_version }}
|
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
sublevel: ${{ steps.extract.outputs.sublevel }}
|
|
|
|
|
|
|
|
- name: Remove Protected Exports
|
|
- name: Remove Protected Exports
|