Skip to content

Commit e8716c8

Browse files
authored
community build: Add akka (#11436)
1 parent a898baf commit e8716c8

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,6 @@
181181
path = community-build/community-projects/perspective
182182
url = https://github.com/dotty-staging/perspective.git
183183
branch = dotty/nightly
184+
[submodule "community-build/community-projects/akka"]
185+
path = community-build/community-projects/akka
186+
url = https://github.com/dotty-staging/akka.git
Submodule akka added at 5b94963

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,13 @@ object projects:
648648
dependencies = List(cats)
649649
)
650650

651+
lazy val akka = SbtCommunityProject(
652+
project = "akka",
653+
extraSbtArgs = List(s"-Dakka.build.scalaVersion=$compilerVersion"),
654+
sbtTestCommand = "set every targetSystemJdk := true; akka-actor-tests/Test/compile",
655+
dependencies = List(scalatest, scalatestplusJunit, scalatestplusScalacheck)
656+
)
657+
651658
end projects
652659

653660
def allProjects = List(
@@ -712,6 +719,7 @@ def allProjects = List(
712719
projects.scissLucre,
713720
projects.izumiReflect,
714721
projects.perspective,
722+
projects.akka,
715723
)
716724

717725
lazy val projectMap = allProjects.groupBy(_.project)

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ end CommunityBuildTest
8686

8787
@Category(Array(classOf[TestCategory]))
8888
class CommunityBuildTestA extends CommunityBuildTest:
89+
@Test def akka = projects.akka.run()
8990
@Test def endpoints4s = projects.endpoints4s.run()
9091
@Test def fansi = projects.fansi.run()
9192
@Test def fastparse = projects.fastparse.run()

0 commit comments

Comments
 (0)