Skip to content

Commit

Permalink
android: build with debug info for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Velaron committed Nov 16, 2023
1 parent 7727b04 commit 1aeb52b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/gha/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ export PATH=$PATH:$JAVA_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$AN

pushd android

./gradlew assembleContinuous
./gradlew assembleDebug

pushd app/build/outputs/apk/continuous
pushd app/build/outputs/apk/debug

$ANDROID_HOME/build-tools/34.0.0/apksigner sign --ks $GITHUB_WORKSPACE/android/debug.keystore --ks-key-alias androiddebugkey \
--ks-pass pass:android --key-pass pass:android --out app-continuous-signed.apk app-continuous-unsigned.apk
--ks-pass pass:android --key-pass pass:android --out app-debug-signed.apk app-debug-unsigned.apk

popd
popd

mkdir -p artifacts/

mv android/app/build/outputs/apk/continuous/app-continuous-signed.apk artifacts/xash3d-fwgs-android.apk
mv android/app/build/outputs/apk/debug/app-debug-signed.apk artifacts/xash3d-fwgs-android.apk

0 comments on commit 1aeb52b

Please sign in to comment.