Skip to content

Commit

Permalink
Add APK output for x86_64 CPU architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Jays2Kings authored and nonproto committed Dec 20, 2022
1 parent b7ee252 commit 68d8f9f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
sha=`sha256sum neko-x86.apk | awk '{ print $1 }'`
echo "APK_X86_SHA=$sha" >> $GITHUB_ENV
cp app/build/outputs/apk/standard/release/Neko-standard-x86_64-release-unsigned-signed.apk neko-x86_64.apk
sha=`sha256sum neko-x86_64.apk | awk '{ print $1 }'`
echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV
- name: Delete any draft releases and last latest tag
uses: dev-drprasad/[email protected]
with:
Expand All @@ -138,7 +142,9 @@ jobs:
| Universal | ${{ env.APK_UNIVERSAL_SHA }}
| arm64-v8a | ${{ env.APK_ARM64_V8A_SHA }}
| armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }}
| x86 | ${{ env.APK_X86_SHA }} |
| x86 | ${{ env.APK_X86_SHA }}
| x86_64 | ${{ env.APK_X86_64_SHA }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
replacesArtifacts: true
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
apply(mapOf("plugin" to "com.google.firebase.crashlytics"))
}

val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86")
val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ data class GithubRelease(
val apkVariant = when (Build.SUPPORTED_ABIS[0]) {
"arm64-v8a" -> "-arm64-v8a"
"armeabi-v7a" -> "-armeabi-v7a"
"x86", "x86_64" -> "-x86"
"x86" -> "-x86"
"x86_64" -> "-x86_64"
else -> "-universal"
}

Expand Down

0 comments on commit 68d8f9f

Please sign in to comment.