Skip to content

Commit

Permalink
CI for android
Browse files Browse the repository at this point in the history
  • Loading branch information
鹿尤 committed Dec 5, 2019
1 parent 529228f commit 00132d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,5 @@ matrix:
- export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
script:
- cd project/android/
- mkdir build_32
- cd build_32
- /usr/local/android-sdk/cmake/3.10.2.4988404/bin/cmake ../../../ -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi-v7a" -DANDROID_STL=c++_static -DCMAKE_BUILD_TYPE=Release -DANDROID_NATIVE_API_LEVEL=android-21 -DANDROID_TOOLCHAIN=clang -DMNN_BUILD_FOR_ANDROID_COMMAND=true -DMNN_DEBUG=false -DNATIVE_LIBRARY_OUTPUT=.
- make -j4
- ./gradlew bintrayUpload -PbintrayKey=${BINTRAY_DEPLOY_TOKEN}
name: "Android | AArch32"
3 changes: 1 addition & 2 deletions project/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apply plugin: 'com.android.library'
ext {
group = 'com.alibaba.android'
artifactName = 'mnn'
version = '0.0.2'
version = '0.0.4'
}


Expand Down Expand Up @@ -73,7 +73,6 @@ publish {
publishVersion = project.ext.version

bintrayUser = 'MNN'
bintrayKey = 'c5c81d3eb64195610e149df357257d3cb823e595'
userOrg = 'mnnteam'
repoName = 'maven'
dryRun = false
Expand Down

0 comments on commit 00132d8

Please sign in to comment.