File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed
Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Android
33on : [push, pull_request]
44
55jobs :
6- build :
6+ build-armeabi-v7a :
77 runs-on : ubuntu-latest
8- name : Android
8+ name : Android ARM32
99
1010 steps :
1111 - name : Clone repository
@@ -20,13 +20,42 @@ jobs:
2020 ./validate_format_linux.sh
2121
2222 - name : Set up Java 8
23- if : success()
2423 uses : actions/setup-java@v1
2524 with :
2625 java-version : 8
2726
2827 - name : Build with Gradle
29- if : success()
28+ env :
29+ ANDROID_ARCH : armeabi-v7a
30+ run : |
31+ cd ./BuildTools/Android
32+ chmod +x gradlew
33+ ./gradlew buildDebug
34+
35+ build-arm64-v8a :
36+ runs-on : ubuntu-latest
37+ name : Android ARM64
38+
39+ steps :
40+ - name : Clone repository
41+ uses : actions/checkout@v2
42+ with :
43+ submodules : recursive
44+
45+ - name : Format validation
46+ shell : bash
47+ run : |
48+ cd $GITHUB_WORKSPACE/BuildTools/FormatValidation
49+ ./validate_format_linux.sh
50+
51+ - name : Set up Java 8
52+ uses : actions/setup-java@v1
53+ with :
54+ java-version : 8
55+
56+ - name : Build with Gradle
57+ env :
58+ ANDROID_ARCH : arm64-v8a
3059 run : |
3160 cd ./BuildTools/Android
3261 chmod +x gradlew
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ android {
99 minSdkVersion 21
1010
1111 ndk {
12- abiFilters " armeabi-v7a " , " arm64-v8a "
12+ abiFilters " $S ystem . env . ANDROID_ARCH "
1313 }
1414 externalNativeBuild {
1515 cmake {
You can’t perform that action at this time.
0 commit comments