diff options
Diffstat (limited to '.ci/scripts/android/build.sh')
| -rwxr-xr-x | .ci/scripts/android/build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.ci/scripts/android/build.sh b/.ci/scripts/android/build.sh new file mode 100755 index 000000000..a5fd1ee18 --- /dev/null +++ b/.ci/scripts/android/build.sh | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #!/bin/bash -ex | ||
| 2 | |||
| 3 | # SPDX-FileCopyrightText: 2023 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-3.0-or-later | ||
| 5 | |||
| 6 | export NDK_CCACHE="$(which ccache)" | ||
| 7 | ccache -s | ||
| 8 | |||
| 9 | BUILD_FLAVOR=mainline | ||
| 10 | |||
| 11 | cd src/android | ||
| 12 | chmod +x ./gradlew | ||
| 13 | ./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release" | ||
| 14 | |||
| 15 | ccache -s | ||