Added testing tasks to osx builds, cleaned up pure variant build.gradle.kts

This commit is contained in:
Ugljesa Jovanovic 2020-06-11 19:48:10 +02:00 committed by Ugljesa Jovanovic
parent add5480850
commit 4eb8970fd3
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
4 changed files with 28 additions and 32 deletions

View File

@ -12,5 +12,7 @@ cd ..
multiplatform-crypto-delegated:iosArm64MainKlibrary multiplatform-crypto-delegated:iosArm64TestKlibrary \ multiplatform-crypto-delegated:iosArm64MainKlibrary multiplatform-crypto-delegated:iosArm64TestKlibrary \
multiplatform-crypto-delegated:iosX64MainKlibrary multiplatform-crypto-delegated:iosX64TestKlibrary \ multiplatform-crypto-delegated:iosX64MainKlibrary multiplatform-crypto-delegated:iosX64TestKlibrary \
multiplatform-crypto-delegated:macosX64MainKlibrary multiplatform-crypto-delegated:macosX64TestKlibrary multiplatform-crypto-delegated:macosX64MainKlibrary multiplatform-crypto-delegated:macosX64TestKlibrary
./gradlew multiplatform-crypto-delegated:iosX64Test
./gradlew multiplatform-crypto-delegated:macosX64Test
set +e set +e

View File

@ -9,4 +9,5 @@ cd sodiumWrapper
cd .. cd ..
./gradlew multiplatform-crypto-delegated:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \ ./gradlew multiplatform-crypto-delegated:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \
multiplatform-crypto-delegated:tvosX64MainKlibrary multiplatform-crypto-delegated:tvosX64TestKlibrary multiplatform-crypto-delegated:tvosX64MainKlibrary multiplatform-crypto-delegated:tvosX64TestKlibrary
./gradlew multiplatform-crypto-delegated:tvosX64Test
set +e set +e

View File

@ -10,4 +10,5 @@ cd ..
./gradlew multiplatform-crypto-delegated:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \ ./gradlew multiplatform-crypto-delegated:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \
multiplatform-crypto-delegated:watchosArm64MainKlibrary multiplatform-crypto-delegated:watchosArm64TestKlibrary \ multiplatform-crypto-delegated:watchosArm64MainKlibrary multiplatform-crypto-delegated:watchosArm64TestKlibrary \
multiplatform-crypto-delegated:watchosX86MainKlibrary multiplatform-crypto-delegated:watchosX86TestKlibrary multiplatform-crypto-delegated:watchosX86MainKlibrary multiplatform-crypto-delegated:watchosX86TestKlibrary
./gradlew multiplatform-crypto-delegated:watchosX86Test
set +e set +e

View File

@ -52,15 +52,18 @@ kotlin {
runningOnLinuxx86_64 { runningOnLinuxx86_64 {
jvm() jvm()
js { js {
//Until I figure out how to run headless chrome on travis
// browser { browser {
//
// testTask { testTask {
// useKarma { isRunningInTravis {
// useChrome() enabled = false //Until I sort out testing on travis
// } }
// } useKarma {
// } useChrome()
}
}
}
nodejs { nodejs {
testTask { testTask {
useMocha() { useMocha() {
@ -78,28 +81,22 @@ kotlin {
} }
} }
}
runningOnLinuxArm32 {
// Not supported in coroutines at the moment
linuxArm32Hfp() {
binaries {
staticLib {
}
}
}
}
runningOnLinuxArm64 {
// Not supported in coroutines at the moment
linuxArm64() { linuxArm64() {
binaries { binaries {
staticLib { staticLib {
} }
} }
} }
linuxArm32Hfp() {
binaries {
staticLib {
}
}
}
} }
runningOnMacos { runningOnMacos {
@ -258,10 +255,6 @@ kotlin {
} }
} }
}
runningOnLinuxArm64 {
//Not supported in OFFICIAL coroutines at the moment, we're running a custom build
val linuxArm64Main by getting { val linuxArm64Main by getting {
dependsOn(nativeMain) dependsOn(nativeMain)
} }
@ -270,9 +263,6 @@ kotlin {
dependsOn(nativeTest) dependsOn(nativeTest)
} }
}
runningOnLinuxArm32 {
val linuxArm32HfpMain by getting { val linuxArm32HfpMain by getting {
dependsOn(nativeMain) dependsOn(nativeMain)
} }
@ -280,8 +270,10 @@ kotlin {
val linuxArm32HfpTest by getting { val linuxArm32HfpTest by getting {
dependsOn(nativeTest) dependsOn(nativeTest)
} }
} }
runningOnMacos{ runningOnMacos{
val iosMain by getting { val iosMain by getting {