Skip to content

Commit

Permalink
Disable wasm and js on mac as well, note that in README, add mac and …
Browse files Browse the repository at this point in the history
…windows nodejs to verification
  • Loading branch information
ionspin committed Jul 14, 2024
1 parent 8adda24 commit 8f6a103
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
24 changes: 24 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,36 @@
<sha256 value="22f335523145d2c8400d4d63b783e24750f9f984cf5e28ca1edffdf7f9a9de7b" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
</component>
<component group="org.jetbrains" name="annotations" version="23.0.0">
<artifact name="annotations-23.0.0.jar">
<sha256 value="7b0f19724082cbfcbc66e5abea2b9bc92cf08a1ea11e191933ed43801eb3cd05" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
</artifact>
<artifact name="annotations-23.0.0.pom">
<sha256 value="c9490f655132328df2cfbcfdf743f53fc3916d6c1d10437175a6ca6e3a67771c" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
</artifact>
</component>
<component group="org.jetbrains.kotlinx" name="kotlinx-coroutines-bom" version="1.9.0-RC">
<artifact name="kotlinx-coroutines-bom-1.9.0-RC.pom">
<sha256 value="1a581e7a732ca82f19ca47970b86fdac75bf16ccbfe175d457b3285c87ecbf2a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.jetbrains.kotlinx" name="kotlinx-serialization-bom" version="1.7.1">
<artifact name="kotlinx-serialization-bom-1.7.1.pom">
<sha256 value="95651ff1e717ad3122639d7341b01c286f7a008693b83e9e289740d15c7c3dca" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.junit" name="junit-bom" version="5.4.0">
<artifact name="junit-bom-5.4.0.pom">
<pgp value="FF6E2C001948C5F2F38B0CC385911F425EC61B51"/>
</artifact>
</component>
<component group="org.nodejs" name="node" version="22.0.0">
<artifact name="node-22.0.0-darwin-arm64.tar.gz">
<sha256 value="ea96d349cfaa67aa87ceeaa3e5b52c9167f7ac302fd8d1ff162d0785e9dc0785" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
<artifact name="node-22.0.0-win-x64.zip">
<sha256 value="32d639b47d4c0a651ff8f8d7d41a454168a3d4045be37985f9a810cf8cef6174" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
<artifact name="node-22.0.0-linux-x64.tar.gz">
<sha256 value="74bb0f3a80307c529421c3ed84517b8f543867709f41e53cd73df99e6442af4d" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
Expand Down
4 changes: 2 additions & 2 deletions macBuild.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion macBuildAndPublish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion macPublishToMaven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ publishTvosArm64PublicationToMavenRepository publishTvosX64PublicationToMavenRep
publishWatchosArm32PublicationToMavenRepository publishWatchosArm64PublicationToMavenRepository \
publishWatchosX64PublicationToMavenRepository \
publishMacosArm64PublicationToMavenRepository publishIosSimulatorArm64PublicationToMavenRepository \
publishTvosSimulatorArm64PublicationToMavenRepository publishWatchosSimulatorArm64PublicationToMavenRepository
publishTvosSimulatorArm64PublicationToMavenRepository publishWatchosSimulatorArm64PublicationToMavenRepository -x jsBrowserTest -x wasmJsBrowserTest
4 changes: 2 additions & 2 deletions windowsBuild.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions windowsBuildAndPublish.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion windowsPublishToMaven.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8f6a103

Please sign in to comment.