diff --git a/README.md b/README.md index 7ef2da53..327a36c9 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ and bug-fixing. ### WASM -WASM platform is experimental, use with caution. Note that currently wasm returns a value after converting to IEEE-754 number, unlike +WASM platform is experimental, use with caution, tests for wasm are not run on Windows and Mac at the moment. Note that currently wasm returns a value after converting to IEEE-754 number, unlike other platforms (JVM, JS, Native), so if you use: ```kotlin val a = BigDecimal.fromFloat(0.000000000000123f) diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 18775b99..5772ab9b 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -129,12 +129,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/macBuild.sh b/macBuild.sh index 820485ea..07a7bbef 100755 --- a/macBuild.sh +++ b/macBuild.sh @@ -1,9 +1,9 @@ if [[ -n "$GITHUB_ACTION" ]]; then echo "Running without verification" - ./gradlew build --dependency-verification lenient -x watchosX64Test || exit 1 + ./gradlew build --dependency-verification lenient -x watchosX64Test -x jsBrowserTest -x wasmJsBrowserTest || exit 1 else echo "Running with verification" -./gradlew build -x watchosX64Test || exit 1 +./gradlew build -x watchosX64Test -x jsBrowserTest -x wasmJsBrowserTest || exit 1 fi exit 0 diff --git a/macBuildAndPublish.sh b/macBuildAndPublish.sh index 576b773d..165fb985 100755 --- a/macBuildAndPublish.sh +++ b/macBuildAndPublish.sh @@ -4,5 +4,5 @@ publishTvosArm64PublicationToSnapshotRepository publishTvosX64PublicationToSnaps publishWatchosArm32PublicationToSnapshotRepository publishWatchosArm64PublicationToSnapshotRepository \ publishWatchosX64PublicationToSnapshotRepository \ publishMacosArm64PublicationToSnapshotRepository publishIosSimulatorArm64PublicationToSnapshotRepository \ -publishTvosSimulatorArm64PublicationToSnapshotRepository publishWatchosSimulatorArm64PublicationToSnapshotRepository || exit 1 +publishTvosSimulatorArm64PublicationToSnapshotRepository publishWatchosSimulatorArm64PublicationToSnapshotRepository -x jsBrowserTest -x wasmJsBrowserTest || exit 1 exit 0 diff --git a/macPublishToMaven.sh b/macPublishToMaven.sh index 8e30a44a..0aa35191 100644 --- a/macPublishToMaven.sh +++ b/macPublishToMaven.sh @@ -4,4 +4,4 @@ publishTvosArm64PublicationToMavenRepository publishTvosX64PublicationToMavenRep publishWatchosArm32PublicationToMavenRepository publishWatchosArm64PublicationToMavenRepository \ publishWatchosX64PublicationToMavenRepository \ publishMacosArm64PublicationToMavenRepository publishIosSimulatorArm64PublicationToMavenRepository \ -publishTvosSimulatorArm64PublicationToMavenRepository publishWatchosSimulatorArm64PublicationToMavenRepository +publishTvosSimulatorArm64PublicationToMavenRepository publishWatchosSimulatorArm64PublicationToMavenRepository -x jsBrowserTest -x wasmJsBrowserTest diff --git a/windowsBuild.sh b/windowsBuild.sh index e1118467..61b54e6f 100755 --- a/windowsBuild.sh +++ b/windowsBuild.sh @@ -1,9 +1,9 @@ if [[ -n "$GITHUB_ACTION" ]]; then echo "Running without verification" - ./gradlew build --dependency-verification lenient -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest|| exit 1 + ./gradlew build --dependency-verification lenient -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest || exit 1 else echo "Running with verification" - ./gradlew build -x spotlessKotlinCheck -x spotlessKotlinGradleCheck || exit 1 + ./gradlew build -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest || exit 1 fi ./gradlew --stop diff --git a/windowsBuildAndPublish.sh b/windowsBuildAndPublish.sh index 6fd7f87e..e88e084d 100755 --- a/windowsBuildAndPublish.sh +++ b/windowsBuildAndPublish.sh @@ -1,4 +1,4 @@ -./gradlew --no-daemon build bignum:publishMingwX64PublicationToSnapshotRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck || exit 1 -./gradlew --no-daemon bignum-serialization-kotlinx:publishMingwX64PublicationToSnapshotRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck || exit 1 +./gradlew --no-daemon build bignum:publishMingwX64PublicationToSnapshotRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest || exit 1 +./gradlew --no-daemon bignum-serialization-kotlinx:publishMingwX64PublicationToSnapshotRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest || exit 1 ./gradlew --stop exit 0 diff --git a/windowsPublishToMaven.sh b/windowsPublishToMaven.sh index 423b09fa..a6fc945d 100644 --- a/windowsPublishToMaven.sh +++ b/windowsPublishToMaven.sh @@ -1,2 +1,2 @@ -./gradlew --no-daemon publishMingwX64PublicationToMavenRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck +./gradlew --no-daemon publishMingwX64PublicationToMavenRepository -x spotlessKotlinCheck -x spotlessKotlinGradleCheck -x jsBrowserTest -x wasmJsBrowserTest ./gradlew --stop