diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2020-03-25 22:45:33 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2020-03-26 20:24:26 +0900 |
commit | 8dd38c066f1ada023ad7648f0d7b966538feec56 (patch) | |
tree | bbd55920390a4e1f4915655dd0ed2f2ff15349d1 | |
parent | b462bfdbc9c393f2fe32083e15ba272479b68f13 (diff) | |
download | portable-8dd38c066f1ada023ad7648f0d7b966538feec56.tar.gz portable-8dd38c066f1ada023ad7648f0d7b966538feec56.tar.bz2 portable-8dd38c066f1ada023ad7648f0d7b966538feec56.zip |
Fix android build
-rw-r--r-- | .travis.yml | 30 | ||||
-rwxr-xr-x | scripts/travis | 5 |
2 files changed, 2 insertions, 33 deletions
diff --git a/.travis.yml b/.travis.yml index 9b983bb..c5aed64 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -45,15 +45,9 @@ matrix: | |||
45 | android: | 45 | android: |
46 | components: | 46 | components: |
47 | - tools | 47 | - tools |
48 | - tools | ||
49 | - platform-tools | 48 | - platform-tools |
50 | - build-tools-27.0.3 | ||
51 | - android-27 | ||
52 | - extra-google-m2repository | 49 | - extra-google-m2repository |
53 | - extra-android-m2repository | 50 | - extra-android-m2repository |
54 | licenses: | ||
55 | - 'android-sdk-preview-license-.+' | ||
56 | - 'android-sdk-license-.+' | ||
57 | - language: android | 51 | - language: android |
58 | name: "Android 5.x" | 52 | name: "Android 5.x" |
59 | env: ARCH=android MIN_NAL=21 MAX_NAL=22 | 53 | env: ARCH=android MIN_NAL=21 MAX_NAL=22 |
@@ -62,15 +56,9 @@ matrix: | |||
62 | android: | 56 | android: |
63 | components: | 57 | components: |
64 | - tools | 58 | - tools |
65 | - tools | ||
66 | - platform-tools | 59 | - platform-tools |
67 | - build-tools-27.0.3 | ||
68 | - android-27 | ||
69 | - extra-google-m2repository | 60 | - extra-google-m2repository |
70 | - extra-android-m2repository | 61 | - extra-android-m2repository |
71 | licenses: | ||
72 | - 'android-sdk-preview-license-.+' | ||
73 | - 'android-sdk-license-.+' | ||
74 | - language: android | 62 | - language: android |
75 | name: "Android 6.x 7.x" | 63 | name: "Android 6.x 7.x" |
76 | env: ARCH=android MIN_NAL=23 MAX_NAL=25 | 64 | env: ARCH=android MIN_NAL=23 MAX_NAL=25 |
@@ -79,15 +67,9 @@ matrix: | |||
79 | android: | 67 | android: |
80 | components: | 68 | components: |
81 | - tools | 69 | - tools |
82 | - tools | ||
83 | - platform-tools | 70 | - platform-tools |
84 | - build-tools-27.0.3 | ||
85 | - android-27 | ||
86 | - extra-google-m2repository | 71 | - extra-google-m2repository |
87 | - extra-android-m2repository | 72 | - extra-android-m2repository |
88 | licenses: | ||
89 | - 'android-sdk-preview-license-.+' | ||
90 | - 'android-sdk-license-.+' | ||
91 | - language: android | 73 | - language: android |
92 | name: "Android 8.x" | 74 | name: "Android 8.x" |
93 | env: ARCH=android MIN_NAL=26 MAX_NAL=27 | 75 | env: ARCH=android MIN_NAL=26 MAX_NAL=27 |
@@ -96,15 +78,9 @@ matrix: | |||
96 | android: | 78 | android: |
97 | components: | 79 | components: |
98 | - tools | 80 | - tools |
99 | - tools | ||
100 | - platform-tools | 81 | - platform-tools |
101 | - build-tools-27.0.3 | ||
102 | - android-27 | ||
103 | - extra-google-m2repository | 82 | - extra-google-m2repository |
104 | - extra-android-m2repository | 83 | - extra-android-m2repository |
105 | licenses: | ||
106 | - 'android-sdk-preview-license-.+' | ||
107 | - 'android-sdk-license-.+' | ||
108 | - language: android | 84 | - language: android |
109 | name: "Android 9.x" | 85 | name: "Android 9.x" |
110 | env: ARCH=android MIN_NAL=28 MAX_NAL=28 | 86 | env: ARCH=android MIN_NAL=28 MAX_NAL=28 |
@@ -113,15 +89,9 @@ matrix: | |||
113 | android: | 89 | android: |
114 | components: | 90 | components: |
115 | - tools | 91 | - tools |
116 | - tools | ||
117 | - platform-tools | 92 | - platform-tools |
118 | - build-tools-27.0.3 | ||
119 | - android-27 | ||
120 | - extra-google-m2repository | 93 | - extra-google-m2repository |
121 | - extra-android-m2repository | 94 | - extra-android-m2repository |
122 | licenses: | ||
123 | - 'android-sdk-preview-license-.+' | ||
124 | - 'android-sdk-license-.+' | ||
125 | 95 | ||
126 | script: | 96 | script: |
127 | "./scripts/travis" | 97 | "./scripts/travis" |
diff --git a/scripts/travis b/scripts/travis index 3e794e7..88e40eb 100755 --- a/scripts/travis +++ b/scripts/travis | |||
@@ -97,11 +97,10 @@ elif [ "x$ARCH" = "xarm32" -o "x$ARCH" = "xarm64" ]; then | |||
97 | file apps/openssl/.libs/openssl | 97 | file apps/openssl/.libs/openssl |
98 | 98 | ||
99 | elif [ "x$ARCH" = "xandroid" ]; then | 99 | elif [ "x$ARCH" = "xandroid" ]; then |
100 | touch $HOME/.android/repositories.cfg | ||
100 | echo y | sdkmanager 'ndk-bundle' | 101 | echo y | sdkmanager 'ndk-bundle' |
102 | echo y | sdkmanager 'ndk;20.1.5948944' | ||
101 | echo y | sdkmanager 'cmake;3.6.4111459' | 103 | echo y | sdkmanager 'cmake;3.6.4111459' |
102 | echo y | sdkmanager 'lldb;3.0' | ||
103 | echo y | sdkmanager --update | ||
104 | echo y | sdkmanager --licenses | ||
105 | 104 | ||
106 | export CMAKE=$ANDROID_HOME/cmake/3.6.4111459/bin/cmake | 105 | export CMAKE=$ANDROID_HOME/cmake/3.6.4111459/bin/cmake |
107 | export NINJA=$ANDROID_HOME/cmake/3.6.4111459/bin/ninja | 106 | export NINJA=$ANDROID_HOME/cmake/3.6.4111459/bin/ninja |