Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ZIO and enable Native multi-threading #1366

Merged
merged 9 commits into from
Aug 26, 2024

Conversation

kyri-petrou
Copy link
Contributor

@kyri-petrou kyri-petrou commented Aug 25, 2024

Main changes:

  • Updates ZIO to 2.1.8
  • Enables multi-threading for Scala Native
  • Uses the releaseFast mode for MacOS (see https://github.com/zio/zio/releases/tag/v2.1.8)
  • Added the .sbtopts file with sensible config. This is needed because the default memory settings (-Xmx1G) is not enough to compile Scala Native

I also did some minor adjustments to CI to speed things up:

  • Set -Xmx and -Xms to 6G in CI
  • use testNative and testJS so that only modules that will run tests are linked

@kyri-petrou kyri-petrou requested a review from a team as a code owner August 25, 2024 08:41
@kyri-petrou kyri-petrou marked this pull request as draft August 25, 2024 09:07
@kyri-petrou kyri-petrou marked this pull request as ready for review August 25, 2024 10:09
@kyri-petrou kyri-petrou merged commit 4da0ce6 into zio:series/2.x Aug 26, 2024
20 checks passed
@kyri-petrou kyri-petrou deleted the native-multi-threading branch August 26, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants