Skip to content

Commit

Permalink
Temporarily disable 2.12 build due to scoverage/sbt-scoverage#319
Browse files Browse the repository at this point in the history
  • Loading branch information
arashi01 committed Jan 31, 2021
1 parent 513e614 commit 70823a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.13, 2.13.4, 3.0.0-M2, 3.0.0-M3]
scala: [2.12.12, 2.13.4, 3.0.0-M2, 3.0.0-M3]
java:
- adopt@1.8
- adopt@1.11
Expand Down Expand Up @@ -55,6 +55,8 @@ jobs:
scala: 3.0.0-M2
- platform: native
scala: 3.0.0-M3
- platform: native
scala: 2.12.12
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down Expand Up @@ -121,7 +123,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.13, 2.13.4, 3.0.0-M2, 3.0.0-M3]
scala: [2.12.12, 2.13.4, 3.0.0-M2, 3.0.0-M3]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -157,7 +159,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.13, 2.13.4, 3.0.0-M2, 3.0.0-M3]
scala: [2.12.12, 2.13.4, 3.0.0-M2, 3.0.0-M3]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -192,7 +194,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.13]
scala: [2.12.12]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ val GraalVM8 = "graalvm-ce-java8@20.2.0"

ThisBuild / githubWorkflowJavaVersions := Seq(PrimaryJava, LTSJava, LatestJava, GraalVM8)

val Scala212 = "2.12.13"
val Scala212 = "2.12.12"
val Scala213 = "2.13.4"
val DottyOld = "3.0.0-M2"
val DottyNew = "3.0.0-M3"
Expand All @@ -68,7 +68,7 @@ ThisBuild / githubWorkflowBuildMatrixExclusions ++=
) // 3.0.0-M1 doesn't work on JDK 14+
}

ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq(DottyOld, DottyNew).map { dottyVersion =>
ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq(DottyOld, DottyNew, Scala212).map { dottyVersion =>
MatrixExclude(Map("platform" -> "native", "scala" -> dottyVersion))
} // Dotty is not yet supported by Scala Native

Expand Down Expand Up @@ -237,8 +237,8 @@ lazy val commonNativeSettings = Seq(
// https://github.com/tkawachi/sbt-doctest/issues/52
doctestGenTests := Seq.empty,
coverageEnabled := false,
// Currently scala-native does not support Dotty
crossScalaVersions := { crossScalaVersions.value.filterNot(Seq(DottyOld, DottyNew).contains) }
// Currently scala-native does not support Dotty, scoverage does not support Scala 2.12.13
crossScalaVersions := { crossScalaVersions.value.filterNot(Seq(DottyOld, DottyNew, Scala212).contains) }
)

lazy val commonJvmSettings = Seq(
Expand Down

0 comments on commit 70823a8

Please sign in to comment.