|
|
@@ -52,203 +52,104 @@ jobs:
|
|
|
download-dependencies:
|
|
|
uses: ./.github/workflows/dependencies.yml
|
|
|
|
|
|
- load-configs:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- permissions:
|
|
|
- contents: read
|
|
|
- outputs:
|
|
|
- a12-5-10: ${{ steps.load.outputs.a12_5_10 }}
|
|
|
- a13-5-10: ${{ steps.load.outputs.a13_5_10 }}
|
|
|
- a13-5-15: ${{ steps.load.outputs.a13_5_15 }}
|
|
|
- a14-5-15: ${{ steps.load.outputs.a14_5_15 }}
|
|
|
- a14-6-1: ${{ steps.load.outputs.a14_6_1 }}
|
|
|
- a15-6-6: ${{ steps.load.outputs.a15_6_6 }}
|
|
|
- a16-6-12: ${{ steps.load.outputs.a16_6_12 }}
|
|
|
- lts: ${{ steps.load.outputs.lts }}
|
|
|
- custom: ${{ steps.load.outputs.custom }}
|
|
|
- testing: ${{ steps.load.outputs.testing }}
|
|
|
- bypass: ${{ steps.load.outputs.bypass }}
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
- - name: Load all matrix configs
|
|
|
- id: load
|
|
|
- run: |
|
|
|
- echo "a12_5_10=$(jq -c . .github/kernel-config/a12-5.10.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a13_5_10=$(jq -c . .github/kernel-config/a13-5.10.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a13_5_15=$(jq -c . .github/kernel-config/a13-5.15.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a14_5_15=$(jq -c . .github/kernel-config/a14-5.15.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a14_6_1=$(jq -c . .github/kernel-config/a14-6.1.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a15_6_6=$(jq -c . .github/kernel-config/a15-6.6.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "a16_6_12=$(jq -c . .github/kernel-config/a16-6.12.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "lts=$(jq -c . .github/kernel-config/lts.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "custom=$(jq -c . .github/kernel-config/custom.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "testing=$(jq -c . .github/kernel-config/testing.json)" >> $GITHUB_OUTPUT
|
|
|
- echo "bypass=$(jq -c . .github/kernel-config/bypass.json)" >> $GITHUB_OUTPUT
|
|
|
-
|
|
|
build-a12-5-10:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a12-5-10' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 12 - 5.10"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a12-5-10']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a12-5-10.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a13-5-10:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a13-5-10' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 13 - 5.10"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a13-5-10']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a13-5-10.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a13-5-15:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a13-5-15' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 13 - 5.15"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a13-5-15']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a13-5-15.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a14-5-15:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a14-5-15' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 14 - 5.15"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a14-5-15']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a14-5-15.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a14-6-1:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a14-6-1' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 14 - 6.1"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a14-6-1']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a14-6-1.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a15-6-6:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a15-6-6' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 15 - 6.6"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a15-6-6']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a15-6-6.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-a16-6-12:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'a16-6-12' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Android 16 - 6.12"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs['a16-6-12']) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/a16-6-12.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-lts:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'lts' || github.event_name == 'push' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "LTS Kernels"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs.lts) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/lts.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant || '' }}
|
|
|
ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-custom:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'custom' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Custom Kernels"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs.custom) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/custom.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant }}
|
|
|
- ksu_commit: ${{ inputs.ksu_commit }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-testing:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'testing' || github.event_name == 'push' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Testing Kernels"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs.testing) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/testing.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant || '' }}
|
|
|
ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
build-bypass:
|
|
|
if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'bypass' }}
|
|
|
- needs: [download-dependencies, load-configs]
|
|
|
- name: "Bypass Kernels"
|
|
|
- strategy:
|
|
|
- fail-fast: false
|
|
|
- matrix: ${{ fromJSON(needs.load-configs.outputs.bypass) }}
|
|
|
- uses: ./.github/workflows/build.yml
|
|
|
+ needs: download-dependencies
|
|
|
+ uses: ./.github/workflows/bypass.yml
|
|
|
secrets: inherit
|
|
|
with:
|
|
|
- kernel_version: ${{ matrix.kernel_version }}
|
|
|
- variant: ${{ matrix.variant || '' }}
|
|
|
ksu_commit: ${{ inputs.ksu_commit || '' }}
|
|
|
- feature_set: ${{ inputs.feature_set }}
|
|
|
+ feature_set: ${{ inputs.feature_set || 'WKSU+SUSFS+BBG' }}
|
|
|
|
|
|
rej:
|
|
|
if: always()
|