mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 01:36:56 +00:00
CI: Update CI workflows to use Citron-specific naming and paths
This commit is contained in:
parent
257aad2431
commit
eec0f34204
65 changed files with 2596 additions and 10 deletions
28
.ci/scripts/android/build.sh
Executable file
28
.ci/scripts/android/build.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# SPDX-FileCopyrightText: 2019 citron Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
export NDK_CCACHE="$(which ccache)"
|
||||
ccache -s
|
||||
|
||||
BUILD_FLAVOR="stable"
|
||||
|
||||
mkdir -p "artifacts"
|
||||
|
||||
BUILD_TYPE="release"
|
||||
if [ "${GITHUB_REPOSITORY}" == "Citron-Project/Cit" ]; then
|
||||
BUILD_TYPE="relWithDebInfo"
|
||||
fi
|
||||
|
||||
# We'll use the Android debug keystore for builds
|
||||
# This removes the requirement for storing a keystore in secrets
|
||||
# For production builds, this should be replaced with a proper signing configuration
|
||||
export USE_DEBUG_KEYSTORE=true
|
||||
|
||||
cd src/android
|
||||
chmod +x ./gradlew
|
||||
./gradlew clean
|
||||
./gradlew app:assemble${BUILD_FLAVOR}${BUILD_TYPE}
|
||||
|
||||
ccache -s
|
||||
Loading…
Add table
Add a link
Reference in a new issue