Skip to content

Commit

Permalink
Update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
cawilliamson committed Dec 31, 2023
1 parent 8ef2ef0 commit be99a7c
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions .github/workflows/build-rom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,32 @@ env:
USE_CCACHE: 1

jobs:
build-image:
build-voltage:
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)"
- name: clone voltage manifest
run: repo init -u https://github.com/VoltageOS/manifest.git -b 14 --depth=1
- name: copy manifest config
run: |
mkdir -p .repo/local_manifests
cp -v manifest.xml .repo/local_manifests/
- name: setup git-lfs hook
run: git lfs install
- name: perform full sources sync
run: repo sync -c -j"$(nproc --all)" --force-sync --no-clone-bundle --no-tags
- name: apply patches
run: |
./patches/apply.sh . trebledroid
./patches/apply.sh . ponces
./patches/apply.sh . personal
./patches/apply.sh . graphene
- name: generate base voltage config
run: bash generate.sh Voltage
working-directory: device/phh/treble
- name: initialize ccache
run: ccache -M 50G -F 0
- name: build gsi
run: |
. build/envsetup.sh
lunch treble_arm64_bvN-userdebug
make systemimage -j"$(nproc --all)"

0 comments on commit be99a7c

Please sign in to comment.