Skip to content

Commit

Permalink
Add effpi to our community-build
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
smarter committed Jul 19, 2019
1 parent 0067b52 commit 686bf49
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@
[submodule "community-build/community-projects/semanticdb"]
path = community-build/community-projects/semanticdb
url = https://github.com/lampepfl/dotty-semanticdb.git
[submodule "community-build/community-projects/effpi"]
path = community-build/community-projects/effpi
url = https://github.com/dotty-staging/effpi
1 change: 1 addition & 0 deletions community-build/community-projects/effpi
Submodule effpi added at 072c66
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,15 @@ class CommunityBuildTest {
updateCommand = "update"
)

@Test def effpi = test(
project = "effpi",
// We set `useEffpiPlugin := false` because we don't want to run their
// compiler plugin since it relies on external binaries (from the model
// checker mcrl2), however we do compile the compiler plugin.
testCommand = ";set ThisBuild / useEffpiPlugin := false; effpi/test:compile; plugin/test:compile; benchmarks/test:compile; examples/test:compile; pluginBenchmarks/test:compile",
updateCommand = ";set ThisBuild / useEffpiPlugin := false; effpi/test:update; plugin/test:update; benchmarks/test:update; examples/test:update; pluginBenchmarks/test:update"
)

// TODO @oderky? It got broken by #5458
// @Test def pdbp = test(
// project = "pdbp",
Expand Down

0 comments on commit 686bf49

Please sign in to comment.