Skip to content

Commit

Permalink
enable universal abi for CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
luvletter2333 committed Dec 2, 2022
1 parent 9ed1040 commit 85ff913
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,30 @@ jobs:
git submodule status ss-rust/src/main/rust/shadowsocks-rust > shadowsocks_status
git submodule status 'ssr-libev/*' > shadowsocksr_status
git submodule status v2ray > v2ray_status
- name: Native Cache (armeabi-v7a)
uses: actions/cache@v2
with:
path: |
TMessagesProj/src/main/libs
key: ${{ hashFiles('TMessagesProj/jni/**', 'ffmpeg_status', 'boringssl_status') }}-armeabi-v7a
- name: Native Cache (arm64-v8a)
uses: actions/cache@v2
with:
path: |
TMessagesProj/src/main/libs
key: ${{ hashFiles('TMessagesProj/jni/**', 'ffmpeg_status', 'boringssl_status') }}-arm64-v8a
- name: Native Cache (x86)
uses: actions/cache@v2
with:
path: |
TMessagesProj/src/main/libs
key: ${{ hashFiles('TMessagesProj/jni/**', 'ffmpeg_status', 'boringssl_status') }}-x86
- name: Native Cache (x86_64)
uses: actions/cache@v2
with:
path: |
TMessagesProj/src/main/libs
key: ${{ hashFiles('TMessagesProj/jni/**', 'ffmpeg_status', 'boringssl_status') }}-x86_64
- name: V2ray Cache
uses: actions/cache@v2
with:
Expand All @@ -410,7 +428,6 @@ jobs:
run: |
export LOCAL_PROPERTIES="${{ secrets.LOCAL_PROPERTIES }}"
export DEBUG_BUILD=true
export NATIVE_TARGET=arm64-v8a
./gradlew TMessagesProj:assembleMiniRelease
- name: Send Build
run: |
Expand Down
4 changes: 3 additions & 1 deletion TMessagesProj/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ android {
universalApk true
} else {
enable true
universalApk false
if (!nativeTarget.isBlank()) {
reset()
include nativeTarget
universalApk false
} else {
universalApk true
}
}
}
Expand Down

0 comments on commit 85ff913

Please sign in to comment.