[build] Build Android release when running render tests
This commit is contained in:
@@ -9,13 +9,13 @@ android {
|
||||
targetSdkVersion 28
|
||||
def abi = 'all'
|
||||
if (project.hasProperty('mapbox.abis')) {
|
||||
abi = project.getProperty("mapbox.abis")
|
||||
abi = project.getProperty('mapbox.abis')
|
||||
}
|
||||
ndk {
|
||||
if (abi != 'all') {
|
||||
abiFilters abi.split(' ')
|
||||
} else {
|
||||
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
|
||||
abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64'
|
||||
}
|
||||
}
|
||||
externalNativeBuild {
|
||||
@@ -25,7 +25,11 @@ android {
|
||||
targets 'mbgl-render-test-runner'
|
||||
}
|
||||
}
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
android {
|
||||
testBuildType 'release'
|
||||
}
|
||||
|
||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
@@ -33,6 +37,11 @@ android {
|
||||
path '../../../next/CMakeLists.txt'
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user