Skip to content

Commit 686bf49

Browse files
committed
Add effpi to our community-build
See https://github.com/alcestes/effpi for more information. This project is interesting to have in the community build since it exercises various Dotty features (implicit/dependent function types, unions, type lambdas, ...) and even contains the first real Dotty compiler plugin! We compile this plugin but do not run it as part of the community build since it depends on native binaries (it calls into the mcrl2 model checker).
1 parent 0067b52 commit 686bf49

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@
5050
[submodule "community-build/community-projects/semanticdb"]
5151
path = community-build/community-projects/semanticdb
5252
url = https://github.com/lampepfl/dotty-semanticdb.git
53+
[submodule "community-build/community-projects/effpi"]
54+
path = community-build/community-projects/effpi
55+
url = https://github.com/dotty-staging/effpi
Submodule effpi added at 072c66d

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,15 @@ class CommunityBuildTest {
189189
updateCommand = "update"
190190
)
191191

192+
@Test def effpi = test(
193+
project = "effpi",
194+
// We set `useEffpiPlugin := false` because we don't want to run their
195+
// compiler plugin since it relies on external binaries (from the model
196+
// checker mcrl2), however we do compile the compiler plugin.
197+
testCommand = ";set ThisBuild / useEffpiPlugin := false; effpi/test:compile; plugin/test:compile; benchmarks/test:compile; examples/test:compile; pluginBenchmarks/test:compile",
198+
updateCommand = ";set ThisBuild / useEffpiPlugin := false; effpi/test:update; plugin/test:update; benchmarks/test:update; examples/test:update; pluginBenchmarks/test:update"
199+
)
200+
192201
// TODO @oderky? It got broken by #5458
193202
// @Test def pdbp = test(
194203
// project = "pdbp",

0 commit comments

Comments
 (0)