CI: Sign Android APKs
This commit is contained in:
parent
35093818c6
commit
d2cf9c44c1
|
@ -170,13 +170,27 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd android
|
cd android
|
||||||
./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
mv app/build/outputs/apk/release/app-release-unsigned.apk ../duckstation-release-unsigned.apk
|
|
||||||
|
- name: Sign APK
|
||||||
|
uses: r0adkll/sign-android-release@v1
|
||||||
|
with:
|
||||||
|
releaseDirectory: android/app/build/outputs/apk/release
|
||||||
|
signingKeyBase64: ${{ secrets.APK_SIGNING_KEY }}
|
||||||
|
alias: ${{ secrets.APK_KEY_ALIAS }}
|
||||||
|
keyStorePassword: ${{ secrets.APK_KEY_STORE_PASSWORD }}
|
||||||
|
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Rename APK
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd android
|
||||||
|
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android-aarch64.apk
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: "android"
|
name: "android"
|
||||||
path: "duckstation-release-unsigned.apk"
|
path: "duckstation-android-aarch64.apk"
|
||||||
|
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
|
@ -239,5 +253,5 @@ jobs:
|
||||||
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
|
||||||
linux-libretro/duckstation_libretro.so.zip
|
linux-libretro/duckstation_libretro.so.zip
|
||||||
linux-libretro/duckstation_libretro_android_aarch64.so.zip
|
linux-libretro/duckstation_libretro_android_aarch64.so.zip
|
||||||
android/duckstation-release-unsigned.apk
|
android/duckstation-android-aarch64.apk
|
||||||
|
|
||||||
|
|
12
README.md
12
README.md
|
@ -49,7 +49,7 @@ Other features include:
|
||||||
- SDL-compatible game controller (e.g. XB360/XBOne)
|
- SDL-compatible game controller (e.g. XB360/XBOne)
|
||||||
|
|
||||||
## Downloading and running
|
## Downloading and running
|
||||||
Binaries of DuckStation for 64-bit Windows and 64-bit Linux (in AppImage format) are available via GitHub Releases and are automatically built with every commit/push. Binaries or packages distributed through other sources may be out of date and are not supported by the developer.
|
Binaries of DuckStation for Windows 64-bit, x86_64 Linux x86_64 (in AppImage format), and Android ARMv8/AArch64 are available via GitHub Releases and are automatically built with every commit/push. Binaries or packages distributed through other sources may be out of date and are not supported by the developer.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
|
@ -83,14 +83,20 @@ To download:
|
||||||
|
|
||||||
A prebuilt APK is now available for Android. However, please keep in mind that the Android version is not yet feature complete, it is more of a preview of things to come. You will need a device running a 64-bit AArch64 userland (anything made in the last few years).
|
A prebuilt APK is now available for Android. However, please keep in mind that the Android version is not yet feature complete, it is more of a preview of things to come. You will need a device running a 64-bit AArch64 userland (anything made in the last few years).
|
||||||
|
|
||||||
Download link: https://github.com/stenzek/duckstation/releases/download/latest/duckstation-release-unsigned.apk
|
Download link: https://github.com/stenzek/duckstation/releases/download/latest/duckstation-android-aarch64.apk
|
||||||
|
|
||||||
The main limitations are:
|
The main limitations are:
|
||||||
- No controller support, only on-screen controls.
|
- No controller support, only on-screen controls.
|
||||||
- User directory is currently hardcoded to /sdcard/duckstation. So BIOS files go in /sdcard/duckstation/bios.
|
- User directory is currently hardcoded to `/sdcard/duckstation`. So BIOS files go in `/sdcard/duckstation/bios`.
|
||||||
- Lack of options in menu when emulator is running.
|
- Lack of options in menu when emulator is running.
|
||||||
- Performance is currently lower than the desktop x86_64 counterpart.
|
- Performance is currently lower than the desktop x86_64 counterpart.
|
||||||
|
|
||||||
|
To use:
|
||||||
|
- Install and run the app for the first time.
|
||||||
|
- This will create `/sdcard/duckstation`. Drop your BIOS files in `/sdcard/duckstation/bios`.
|
||||||
|
- Add game directories by hitting the `+` icon and selecting a directory. Due to a bug you may need to restart the app for it to scan the directory.
|
||||||
|
- Tap a game to start.
|
||||||
|
|
||||||
|
|
||||||
### Title Information
|
### Title Information
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue