fix: if it doesn't work now I give up

This commit is contained in:
Lucaskyy 2022-06-15 22:10:36 +02:00
parent cb312e6ce3
commit 099133dce3
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
3 changed files with 5 additions and 5 deletions

View File

@ -32,11 +32,6 @@ jobs:
cd termux-packages
git apply ../termux/*.patch
- name: Clone AOSP base repository
run: |
cd termux-packages/packages/aapt
git clone --depth 1 --single-branch --branch android-12.0.0_r27 https://android.googlesource.com/platform/frameworks/base
- name: Add aapt2 patches
run: cp *.patch termux-packages/packages/aapt

View File

@ -1,4 +1,5 @@
cd termux-packages
./scripts/run-docker.sh ../setup.sh
for arch in "aarch64" "arm" "i686"; do
echo "Building aapt for $arch"
./scripts/run-docker.sh ./build-package.sh -I -a $arch aapt

4
setup.sh Normal file
View File

@ -0,0 +1,4 @@
mkdir -p /home/builder/.termux-build/aapt/src
cd /home/builder/.termux-build/aapt/src
echo "Cloning AOSP base..."
git clone --depth 1 --single-branch --branch android-12.0.0_r27 https://android.googlesource.com/platform/frameworks/base