-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
76 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,7 @@ jobs: | |
matrix: | ||
java: ['8', '11', '17'] | ||
scala: ['2.12.18', '2.13.11', '3.3.0'] | ||
platform: ['JVM', 'JS'] | ||
platform: ['JVM', 'JS', 'Native'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
@@ -94,12 +94,14 @@ jobs: | |
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run tests | ||
- name: Install libuv | ||
if: matrix.platform == 'Native' | ||
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | ||
- name: Run Macros tests | ||
if: ${{ !startsWith(matrix.scala, '3.3.') }} | ||
run: sbt ++${{ matrix.scala }}! testScala2${{ matrix.platform }} | ||
- name: Run tests | ||
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }} | ||
- name: Run Dotty tests | ||
if: ${{ startsWith(matrix.scala, '3.3.') && matrix.platform == 'JVM' }} | ||
run: sbt ++${{ matrix.scala }}! testJVMDotty | ||
|
||
ci: | ||
runs-on: ubuntu-20.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
zio-json/native/src/main/scala/zio/JsonPackagePlatformSpecific.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package zio | ||
|
||
trait JsonPackagePlatformSpecific {} |
3 changes: 3 additions & 0 deletions
3
zio-json/native/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package zio.json | ||
|
||
trait JsonDecoderPlatformSpecific[A] { self: JsonDecoder[A] => } |
3 changes: 3 additions & 0 deletions
3
zio-json/native/src/main/scala/zio/json/JsonEncoderPlatformSpecific.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package zio.json | ||
|
||
trait JsonEncoderPlatformSpecific[A] { self: JsonEncoder[A] => } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters