-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from TheWildJames/test
Test
- Loading branch information
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Download Prebuilt Toolchain | ||
|
||
on: | ||
workflow_call: # Makes this file callable by other workflows | ||
|
||
jobs: | ||
setup-prerequisites: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Download prebuilt toolchain | ||
run: | | ||
AOSP_MIRROR=https://android.googlesource.com | ||
BRANCH=main-kernel-build-2024 | ||
# Clone necessary prebuilt tools | ||
git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools | ||
git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools | ||
git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 mkbootimg | ||
# Export paths to required tools | ||
export AVBTOOL=$GITHUB_WORKSPACE/kernel-build-tools/linux-x86/bin/avbtool | ||
export GZIP=$GITHUB_WORKSPACE/build-tools/path/linux-x86/gzip | ||
export LZ4=$GITHUB_WORKSPACE/build-tools/path/linux-x86/lz4 | ||
export MKBOOTIMG=$GITHUB_WORKSPACE/mkbootimg/mkbootimg.py | ||
export UNPACK_BOOTIMG=$GITHUB_WORKSPACE/mkbootimg/unpack_bootimg.py | ||
echo "Prerequisites downloaded and paths set up." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: # Manually triggered workflow | ||
|
||
jobs: | ||
#build-a12-kernel: | ||
# uses: ./.github/workflows/build-kernel-a12.yml | ||
# secrets: inherit | ||
#build-a13-kernel: | ||
# uses: ./.github/workflows/build-kernel-a13.yml | ||
# secrets: inherit | ||
build-a14-kernel: | ||
uses: ./.github/workflows/build-kernel-a14.yml | ||
secrets: inherit | ||
#build-a15-kernel: | ||
# uses: ./.github/workflows/build-kernel-a15.yml | ||
# secrets: inherit |