Build AOSP with QPR2
This commit is contained in:
parent
0c8fe3ef20
commit
fb4e1711f2
2 changed files with 7 additions and 5 deletions
|
@ -7,7 +7,7 @@ task:
|
||||||
cpu: 8
|
cpu: 8
|
||||||
memory: 32G
|
memory: 32G
|
||||||
build_script:
|
build_script:
|
||||||
- ./.github/scripts/build_aosp.sh aosp_arm64 userdebug android-14.0.0_r1
|
- ./.github/scripts/build_aosp.sh aosp_arm64 ap1a userdebug android-14.0.0_r29
|
||||||
always:
|
always:
|
||||||
seedvault_artifacts:
|
seedvault_artifacts:
|
||||||
path: Seedvault.apk
|
path: Seedvault.apk
|
||||||
|
|
10
.github/scripts/build_aosp.sh
vendored
10
.github/scripts/build_aosp.sh
vendored
|
@ -52,8 +52,9 @@ retry() {
|
||||||
}
|
}
|
||||||
|
|
||||||
DEVICE=$1
|
DEVICE=$1
|
||||||
TARGET=$2
|
RELEASE=$2
|
||||||
BRANCH=$3
|
TARGET=$3
|
||||||
|
BRANCH=$4
|
||||||
|
|
||||||
git config --global user.email "seedvault@example.com"
|
git config --global user.email "seedvault@example.com"
|
||||||
git config --global user.name "Seedvault CI"
|
git config --global user.name "Seedvault CI"
|
||||||
|
@ -85,7 +86,8 @@ retry repo sync -c -j8 --fail-fast --force-sync
|
||||||
while true; do echo "Still building..."; sleep 30; done &
|
while true; do echo "Still building..."; sleep 30; done &
|
||||||
|
|
||||||
source build/envsetup.sh
|
source build/envsetup.sh
|
||||||
lunch $DEVICE-$TARGET
|
lunch $DEVICE-$RELEASE-$TARGET
|
||||||
m -j6 Seedvault
|
m -j1 nothing
|
||||||
|
m -j2 Seedvault
|
||||||
|
|
||||||
mv /aosp/out/target/product/generic_arm64/system/system_ext/priv-app/Seedvault/Seedvault.apk "$CIRRUS_WORKING_DIR"
|
mv /aosp/out/target/product/generic_arm64/system/system_ext/priv-app/Seedvault/Seedvault.apk "$CIRRUS_WORKING_DIR"
|
||||||
|
|
Loading…
Reference in a new issue