-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 928 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build
on:
push:
branches:
- '**'
jobs:
build-and-test-with-mps:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mpsversion: [ "2020.3.6", "2021.1.4", "2021.2.6", "2021.3.5", "2022.2.2", "2022.3.1", "2023.2", "2023.3", "2024.1-RC1" ]
javaversion: [ 21 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.javaversion }}
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Assemble
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build publishToMavenLocal -PciBuild=true
- name: Test with ${{ matrix.version }}
run: cd build-tools-gradle-test && ./gradlew --build-cache build publishToMavenLocal -Pmps.version=${{ matrix.mpsversion }}