Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
build all ABIs (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Jan 29, 2020
1 parent 0a116e0 commit 7e62339
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 46 deletions.
29 changes: 1 addition & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_install:
- yes | sdkmanager --update
install:
- echo y | sdkmanager "ndk-bundle" >/dev/null
- echo y | sdkmanager "cmake;3.6.4111459" >/dev/null
- echo y | sdkmanager "cmake;3.10.2.4988404" >/dev/null
before_script:
- export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
android:
Expand All @@ -27,33 +27,6 @@ android:
os: linux
dist: trusty
language: android
env:
matrix:
- API=android-14 ABI=armeabi-v7a
# Keeping only lowest/higher API level per ABI temporarily
# - API=android-15 ABI=armeabi-v7a
# - API=android-16 ABI=armeabi-v7a
# - API=android-17 ABI=armeabi-v7a
# - API=android-18 ABI=armeabi-v7a
# - API=android-19 ABI=armeabi-v7a
# - API=android-21 ABI=armeabi-v7aq
# - API=android-22 ABI=armeabi-v7a
# - API=android-23 ABI=armeabi-v7a
# - API=android-24 ABI=armeabi-v7a
# - API=android-25 ABI=armeabi-v7a
# - API=android-26 ABI=armeabi-v7a
# - API=android-27 ABI=armeabi-v7a
# - API=android-28 ABI=armeabi-v7a
- API=android-29 ABI=armeabi-v7a
- API=android-21 ABI=arm64-v8a
# - API=android-22 ABI=arm64-v8a
# - API=android-23 ABI=arm64-v8a
# - API=android-24 ABI=arm64-v8a
# - API=android-25 ABI=arm64-v8a
# - API=android-26 ABI=arm64-v8a
# - API=android-27 ABI=arm64-v8a
# - API=android-28 ABI=arm64-v8a
- API=android-29 ABI=arm64-v8a
matrix:
include:
- jdk: openjdk8
Expand Down
7 changes: 1 addition & 6 deletions sentry-android-ndk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@ android {
}

ndk {
val platform = System.getenv("ABI")
if (platform == null || platform.toLowerCase() == "all") {
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
} else {
abiFilters(platform)
}
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
}

// replace with https://issuetracker.google.com/issues/72050365 once released.
Expand Down
7 changes: 1 addition & 6 deletions sentry-native-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ android {
}

ndk {
val platform = System.getenv("ABI")
if (platform == null || platform.toLowerCase() == "all") {
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
} else {
abiFilters(platform)
}
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
}
}

Expand Down
7 changes: 1 addition & 6 deletions sentry-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ android {
}

ndk {
val platform = System.getenv("ABI")
if (platform == null || platform.toLowerCase() == "all") {
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
} else {
abiFilters(platform)
}
abiFilters("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
}
}

Expand Down

0 comments on commit 7e62339

Please sign in to comment.