-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from kubukoz/cross-build-scala-3-rc2
- Loading branch information
Showing
3 changed files
with
27 additions
and
7 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 |
---|---|---|
|
@@ -39,6 +39,7 @@ jobs: | |
- 2.13.5 | ||
- 3.0.0-M3 | ||
- 3.0.0-RC1 | ||
- 3.0.0-RC2 | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -222,6 +223,16 @@ jobs: | |
tar xf targets.tar | ||
rm targets.tar | ||
- name: Download target directories (3.0.0-RC2) | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: target-${{ matrix.os }}-3.0.0-RC2-${{ matrix.java }} | ||
|
||
- name: Inflate target directories (3.0.0-RC2) | ||
run: | | ||
tar xf targets.tar | ||
rm targets.tar | ||
- uses: olafurpg/setup-gpg@v3 | ||
|
||
- run: sbt ++${{ matrix.scala }} ci-release |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ inThisBuild( | |
"Jakub Kozłowski", | ||
"[email protected]", | ||
url("https://kubukoz.com") | ||
), | ||
Developer( | ||
"majk-p", | ||
"Michał Pawlik", | ||
"[email protected]", | ||
url("https://michalp.net") | ||
) | ||
) | ||
) | ||
|
@@ -32,7 +38,8 @@ ThisBuild / crossScalaVersions := Seq( | |
"2.13.5", | ||
// | ||
"3.0.0-M3", | ||
"3.0.0-RC1" | ||
"3.0.0-RC1", | ||
"3.0.0-RC2" | ||
) | ||
|
||
ThisBuild / githubWorkflowJavaVersions := Seq(GraalVM11) | ||
|
@@ -60,10 +67,12 @@ val commonSettings = Seq( | |
scalacOptions -= "-Xfatal-warnings" | ||
) | ||
|
||
def scalatestVersion(scalaVersion: String) = scalaVersion match { | ||
case "3.0.0-M3" => "3.2.3" | ||
case _ => "3.2.5" | ||
} | ||
def scalatestVersion(scalaVersion: String) = | ||
scalaVersion match { | ||
case "3.0.0-M3" => "3.2.3" | ||
case "3.0.0-RC1" => "3.2.5" | ||
case _ => "3.2.7" | ||
} | ||
|
||
val plugin = project.settings( | ||
name := "better-tostring", | ||
|
@@ -72,7 +81,7 @@ val plugin = project.settings( | |
crossVersion := CrossVersion.full, | ||
libraryDependencies ++= Seq( | ||
scalaOrganization.value % ( | ||
if (isDotty.value) | ||
if (scalaVersion.value.startsWith("3")) | ||
s"scala3-compiler_${scalaVersion.value}" | ||
else "scala-compiler" | ||
) % scalaVersion.value | ||
|