CI: add Android build systems

This commit is contained in:
liushuyu 2023-03-03 22:38:56 -07:00 committed by bunnei
parent 041fab3165
commit bca45d1588
4 changed files with 74 additions and 0 deletions

12
.ci/scripts/android/build.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash -ex
export NDK_CCACHE="$(which ccache)"
ccache -s
BUILD_FLAVOR=mainline
cd src/android
chmod +x ./gradlew
./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release"
ccache -s