Skip to content

Commit

Permalink
Build Seedvault with AOSP in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Oct 15, 2023
1 parent 4d8b62f commit be89134
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/build_aosp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ chmod a+x ~/bin/repo
git clone https://android.googlesource.com/platform/manifest.git
mv manifest /aosp-manifest
cd /aosp-manifest
git fetch --tags
git checkout android-14.0.0_r11
insert_text="<remote name=\"seedvault\" fetch=\"https://github.com/$CIRRUS_REPO_OWNER/\" revision=\"$CIRRUS_CHANGE_IN_REPO\" />\n <project path=\"external/seedvault\" name=\"$CIRRUS_REPO_NAME\" remote=\"seedvault\" />"
sed -i "/<manifest>/a ${insert_text}" "default.xml"

mkdir -p /aosp
cd /aosp
retry yes | repo init -u /aosp-manifest --depth=1
retry yes | repo init -m /aosp-manifest/default.xml --depth=1
retry repo sync -c -j8 --fail-fast --force-sync

# Cirrus CI seems to (possibly) reschedule tasks that aren't sending out logs for a while?
Expand Down

0 comments on commit be89134

Please sign in to comment.