summaryrefslogtreecommitdiff
path: root/.ci/scripts/android/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/scripts/android/build.sh')
-rwxr-xr-x.ci/scripts/android/build.sh15
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
6export NDK_CCACHE="$(which ccache)"
7ccache -s
8
9BUILD_FLAVOR=mainline
10
11cd src/android
12chmod +x ./gradlew
13./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release"
14
15ccache -s