forked from ahnet-69/treble_voltage
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to use github actions for GSI building (via self-hosted agent)
- Loading branch information
1 parent
def3a99
commit 7d6bbd5
Showing
2 changed files
with
30 additions
and
43 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,30 @@ | ||
name: Build VoltageOS GSI | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
CCACHE_COMPRESS: 1 | ||
CCACHE_MAXSIZE: 50G | ||
USE_CCACHE: 1 | ||
|
||
jobs: | ||
build-image: | ||
runs-on: [self-hosted] | ||
steps: | ||
- run: repo init -u https://github.com/VoltageOS/manifest.git -b 14 --depth=1 . | ||
- run: | | ||
mkdir -p .repo/local_manifests && \ | ||
cp -v manifest.xml .repo/local_manifests/ | ||
- run: git lfs install | ||
- run: repo sync -c -j"$(nproc --all)" --force-sync --no-clone-bundle --no-tags | ||
- run: repo forall -c git lfs pull | ||
- run: ./patches/apply.sh . trebledroid | ||
- run: ./patches/apply.sh . ponces | ||
- run: ./patches/apply.sh . personal | ||
- run: ./patches/apply.sh . graphene | ||
- run: cd device/phh/treble && bash generate.sh Voltage | ||
- run: ccache -M 50G -F 0 | ||
- run: | | ||
. build/envsetup.sh && \ | ||
lunch treble_arm64_bvN-userdebug && \ | ||
make systemimage -j"$(nproc --all)" |
This file was deleted.
Oops, something went wrong.