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

Cross-build for Scala 2.13 #162

Merged
merged 7 commits into from Jul 14, 2022
Merged

Conversation

armanbilge
Copy link
Contributor

@armanbilge armanbilge commented Jul 7, 2022

Closes #159.

I had a brief look at adding 2.12 as well, but that still requires more changes. 2.13 is pretty good for now :)

def scala3Version = "3.1.2"
def scala3Version = "3.2.0-RC2"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to bump to v3.2.0 since I was hitting some compiler bugs in 3.1.x.

@armanbilge armanbilge mentioned this pull request Jul 7, 2022
@kpodsiad
Copy link
Contributor

kpodsiad commented Jul 8, 2022

Seems like this PR is on good way @armanbilge ;)

Copy link
Contributor

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scalafmt and native fails on CI, after they're green I think this will be good to go 👍

@@ -36,13 +37,11 @@ inThisBuild(

ThisBuild / scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.6.0"

lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
lazy val core = crossProject(JSPlatform, JVMPlatform /*, NativePlatform*/ )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for commenting native version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, because I had to bump to Scala 3.2.0-RC2 the Native plugin is not yet published for these versions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI for for native can be disabled (for a while) to not block this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kpodsiad cool, thanks, I've fixed formatting and disabled Native CI for now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • for a while - as long as there is no ScalaNative plugin for 3.2.x ;)

@armanbilge armanbilge marked this pull request as ready for review July 12, 2022 12:53
@kpodsiad kpodsiad self-assigned this Jul 14, 2022
Copy link
Contributor

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, CI is green 👍

@kpodsiad kpodsiad merged commit 78b0be0 into VirtusLab:main Jul 14, 2022
@armanbilge armanbilge mentioned this pull request Oct 7, 2022
UnconventionalMindset pushed a commit to UnconventionalMindset/scala-yaml that referenced this pull request Jan 18, 2023
* Cross-compile for 2.13
* Cross-compile integrations tests
* Bump to 3.2.0-RC2
* Disable native plugin and temporarily remove native from CI (there is no one for 3.2.x)
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.

Publish for 2.12/2.13?
2 participants