Skip to content

Commit 5987a3b

Browse files
committed
ci: compile with all MPS versions
The previously added docker integration tests are necessary, but not a replacement for compiling against different MPS versions. The tests don't have a 100 % coverage and the static analysis of the compiler is still useful. Most breaking changes in the API can be detected without executing the code.
1 parent fa01fb5 commit 5987a3b

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: MPS compatibility
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request: {}
8+
# allow manual execution just in case
9+
workflow_dispatch:
10+
11+
jobs:
12+
assemble-mps-components:
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 30
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
version:
19+
- "2020.3"
20+
- "2021.1"
21+
- "2021.2"
22+
- "2021.3"
23+
- "2022.2"
24+
- "2022.3"
25+
- "2023.2"
26+
- "2024.1"
27+
- "2024.3"
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Set up JDK
31+
uses: actions/setup-java@v4
32+
with:
33+
distribution: 'temurin'
34+
java-version: '21'
35+
- name: Set up Gradle
36+
uses: gradle/gradle-build-action@v3
37+
- name: Assemble with ${{ matrix.version }}
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
run: >-
41+
./gradlew --build-cache
42+
assemble
43+
-Pmps.version.major=${{ matrix.version }}

0 commit comments

Comments
 (0)