2022-04-19 00:33:12 +05:30
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
|
|
export NDK_CCACHE=$(which ccache)
|
2022-08-13 21:22:15 +05:30
|
|
|
[ "$GITHUB_REPOSITORY" = "citra-emu/citra-canary" ] &&
|
|
|
|
BUILD_FLAVOR=canary ||
|
|
|
|
BUILD_FLAVOR=nightly
|
2022-04-19 00:33:12 +05:30
|
|
|
|
|
|
|
ccache -s
|
|
|
|
|
|
|
|
cd src/android
|
|
|
|
chmod +x ./gradlew
|
2022-08-13 21:22:15 +05:30
|
|
|
./gradlew assemble${BUILD_FLAVOR}Release
|
|
|
|
./gradlew bundle${BUILD_FLAVOR}Release
|
2022-04-19 00:33:12 +05:30
|
|
|
|
|
|
|
ccache -s
|