Skip to content

Commit ef374d1

Browse files
committed
Add Kotlin matrix for dependant build
1 parent b42143f commit ef374d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dep_build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ permissions:
1010

1111
jobs:
1212
build:
13-
# Do we want wide matrix build? For now, limited
13+
# Do we want wide matrix build? For now, more limited
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
java_version: ['8', '17', '21']
19+
# Versions need to align with ones in 'main.yml' workflow
20+
kotlin_version: ['1.7.22', '1.8.10', '1.9.23', '2.0.0-Beta4']
1921
os: ['ubuntu-22.04']
2022
env:
2123
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
@@ -28,6 +30,6 @@ jobs:
2830
java-version: ${{ matrix.java_version }}
2931
cache: 'maven'
3032
- name: Build and test
31-
run: ./mvnw -B -ff -ntp clean verify
33+
run: ./mvnw -B -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} clean verify
3234

3335
# No recursive rebuild (yet?)

0 commit comments

Comments
 (0)