diff options
| author | Jack Koenig | 2020-12-16 11:22:07 -0800 |
|---|---|---|
| committer | GitHub | 2020-12-16 11:22:07 -0800 |
| commit | 25a417f86e47f7660318753065fea898535fbbd9 (patch) | |
| tree | 863ed0b342b340ca1ebebcf2eb9c673124df8c9f /build.sbt | |
| parent | 315ff8c6f443e7d5379948bca25619fe3ffb2440 (diff) | |
Switch to using Github Actions CI (#1690)
MiMa binary compatibility checks are now run on master, but the
mimaPreviousArtifacts are empty which makes the check a no-op. This
helps keep both the build.sbt and CI more consistent between master and
stable branches.
.mergify.yml is also updated with mergify.sc from chisel-repo-tools
using the following configuration:
conditions:
- status-success=all tests passed
branches:
- 3.2.x
- 3.3.x
- 3.4.x
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -147,6 +147,13 @@ lazy val plugin = (project in file("plugin")). }, // Only publish for Scala 2.12 publish / skip := !scalaVersion.value.startsWith("2.12") + ). + settings( + mimaPreviousArtifacts := { + // Not published for 2.11, do not try to check binary compatibility with a 2.11 artifact + if (scalaVersion.value.startsWith("2.11")) Set() + else Set() + } ) lazy val usePluginSettings = Seq( @@ -163,7 +170,8 @@ lazy val usePluginSettings = Seq( lazy val macros = (project in file("macros")). settings(name := "chisel3-macros"). settings(commonSettings: _*). - settings(publishSettings: _*) + settings(publishSettings: _*). + settings(mimaPreviousArtifacts := Set()) lazy val firrtlRef = ProjectRef(workspaceDirectory / "firrtl", "firrtl") @@ -177,6 +185,7 @@ lazy val core = (project in file("core")). buildInfoKeys := Seq[BuildInfoKey](buildInfoPackage, version, scalaVersion, sbtVersion) ). settings(publishSettings: _*). + settings(mimaPreviousArtifacts := Set()). settings( name := "chisel3-core", scalacOptions := scalacOptions.value ++ Seq( @@ -205,6 +214,7 @@ lazy val chisel = (project in file(".")). dependsOn(core). aggregate(macros, core, plugin). settings( + mimaPreviousArtifacts := Set(), libraryDependencies += defaultVersions("treadle") % "test", scalacOptions in Test ++= Seq("-language:reflectiveCalls"), scalacOptions in Compile in doc ++= Seq( |
