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

Onwards and upwards #879

Merged
merged 1 commit into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.0.2, 2.12.15, 2.13.8]
scala: [3.1.1, 2.12.15, 2.13.8]
java: [temurin@8, temurin@11]
project: [rootJS, rootJVM, rootNative]
workers: [1, 4]
Expand All @@ -37,8 +37,6 @@ jobs:
java: temurin@11
- project: rootNative
java: temurin@11
- project: rootNative
scala: 3.0.2
- project: rootJS
workers: 4
- project: rootNative
Expand Down Expand Up @@ -191,32 +189,42 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (3.0.2, rootJS, 1)
- name: Download target directories (3.1.1, rootJS, 1)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJS-1

- name: Inflate target directories (3.1.1, rootJS, 1)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.1.1, rootJVM, 1)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJS-1
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJVM-1

- name: Inflate target directories (3.0.2, rootJS, 1)
- name: Inflate target directories (3.1.1, rootJVM, 1)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.0.2, rootJVM, 1)
- name: Download target directories (3.1.1, rootNative, 1)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJVM-1
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootNative-1

- name: Inflate target directories (3.0.2, rootJVM, 1)
- name: Inflate target directories (3.1.1, rootNative, 1)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.0.2, rootJVM, 1)
- name: Download target directories (3.1.1, rootJVM, 1)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJVM-1
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJVM-1

- name: Inflate target directories (3.0.2, rootJVM, 1)
- name: Inflate target directories (3.1.1, rootJVM, 1)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
7 changes: 3 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
val Scala212 = "2.12.15"
val Scala213 = "2.13.8"
val Scala3 = "3.0.2"
val Scala3 = "3.1.1"

name := "scalacheck"
ThisBuild / organization := "org.scalacheck"
Expand All @@ -23,7 +23,6 @@ ThisBuild / githubWorkflowBuildMatrixAdditions += "workers" -> List("1", "4")

ThisBuild / githubWorkflowBuildMatrixExclusions ++=
List(
MatrixExclude(Map("project" -> "rootNative", "scala" -> Scala3)),
MatrixExclude(Map("project" -> "rootJS", "workers" -> "4")),
MatrixExclude(Map("project" -> "rootNative", "workers" -> "4"))
)
Expand Down Expand Up @@ -51,7 +50,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
javas = List(Java8),
scalas = List((ThisBuild / scalaVersion).value)))

ThisBuild / tlBaseVersion := "1.15"
ThisBuild / tlBaseVersion := "1.16"
ThisBuild / tlMimaPreviousVersions ++= Set(
// manually added because tags are not v-prefixed
"1.14.0",
Expand Down Expand Up @@ -115,7 +114,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
"org.scala-native" %%% "test-interface" % nativeVersion
),
tlVersionIntroduced ++=
List("2.12", "2.13").map(_ -> "1.15.2").toMap ++ Map("3" -> "1.15.5")
List("2.12", "2.13").map(_ -> "1.15.2").toMap ++ Map("3" -> "1.16.0")
)

lazy val bench = project.in(file("bench"))
Expand Down