Enable full test exceptions for all platforms
Move LIBSODIUM_FULL_BUILD to the macOS build script, as it is needed for all macOS builds, not only in workflows
This commit is contained in:
parent
086bb1f786
commit
e526bb09aa
@ -18,8 +18,6 @@ jobs:
|
||||
- run: ./linuxBuild.sh
|
||||
Build-And-Test-Mac:
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
env:
|
||||
LIBSODIUM_FULL_BUILD: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
@ -21,7 +21,6 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
|
||||
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
|
||||
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
|
||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
import org.jetbrains.dokka.Platform
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
@ -672,15 +671,16 @@ tasks {
|
||||
|
||||
}
|
||||
|
||||
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
||||
val jvmTest by getting(Test::class) {
|
||||
testLogging {
|
||||
events("PASSED", "FAILED", "SKIPPED")
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
showStandardStreams = true
|
||||
showStackTraces = true
|
||||
}
|
||||
val jvmTest by getting(Test::class) {
|
||||
testLogging {
|
||||
events("PASSED", "FAILED", "SKIPPED")
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
showStandardStreams = true
|
||||
showStackTraces = true
|
||||
}
|
||||
}
|
||||
|
||||
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
||||
|
||||
val linuxX64Test by getting(KotlinNativeTest::class) {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
./configureMacos64.sh
|
||||
cd libsodium
|
||||
./dist-build/apple-xcframework.sh
|
||||
LIBSODIUM_FULL_BUILD=1 ./dist-build/apple-xcframework.sh
|
||||
|
||||
mkdir ../static-ios
|
||||
mkdir ../static-ios-simulators
|
||||
|
Loading…
x
Reference in New Issue
Block a user