mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Add 32 bit CI
This commit is contained in:
@ -10,20 +10,13 @@ emu_pid=
|
||||
|
||||
export PATH="$PATH:$ANDROID_SDK_ROOT/platform-tools"
|
||||
|
||||
# We test at least these API levels for the following reason
|
||||
|
||||
# API 23: legacy rootfs w/o Treble
|
||||
# API 26: legacy rootfs with Treble
|
||||
# API 28: legacy system-as-root
|
||||
# API 29: 2 Stage Init
|
||||
# API 34: latest Android
|
||||
|
||||
api_list='23 26 28 29 34'
|
||||
|
||||
min_api=23
|
||||
max_api=34
|
||||
atd_min_api=30
|
||||
atd_max_api=34
|
||||
lsposed_min_api=27
|
||||
huge_ram_min_api=26
|
||||
i386_max_api=30
|
||||
|
||||
print_title() {
|
||||
echo -e "\n\033[44;39m${1}\033[0m\n"
|
||||
@ -222,6 +215,21 @@ case $(uname -m) in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "$FORCE_32_BIT" ]; then
|
||||
case $arch in
|
||||
'arm64-v8a')
|
||||
echo "! ARM32 is not supported"
|
||||
exit 1
|
||||
;;
|
||||
'x86_64')
|
||||
arch=x86
|
||||
max_api=$i386_max_api
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
api_list=$(seq $min_api $max_api)
|
||||
|
||||
yes | "$sdk" --licenses > /dev/null
|
||||
curl -L $lsposed_url -o out/lsposed.zip
|
||||
"$sdk" --channel=3 tools platform-tools emulator
|
||||
|
Reference in New Issue
Block a user