Skip to content

Commit 2e4db8a

Browse files
author
Oleksandr Dzhychko
committed
ci(metamodel-export): test MPS compatibility
Build metamodel-export subproject with different MPS versions to test compatibility.
1 parent c06295a commit 2e4db8a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/mps-compatibility.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run: >-
3737
./gradlew --build-cache
3838
:bulk-model-sync-mps:build
39+
:metamodel-export:build
3940
:mps-model-adapters:build
4041
:mps-model-server-plugin:build
4142
-Pmps.version=${{ matrix.version }}

metamodel-export/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ plugins {
77

88
group = "org.modelix.mps"
99

10+
val mpsVersion = project.findProperty("mps.version")?.toString().takeIf { !it.isNullOrBlank() } ?: "2021.1.4"
11+
1012
val generatorLibs by configurations.creating
1113

1214
dependencies {
@@ -32,7 +34,7 @@ val copyLibs by tasks.registering(Sync::class) {
3234

3335
extensions.configure<MPSBuildSettings> {
3436
dependsOn(copyLibs)
35-
mpsVersion("2021.1.4")
37+
mpsVersion(mpsVersion)
3638
search(".")
3739
disableParentPublication()
3840

0 commit comments

Comments
 (0)