Skip to content

Commit

Permalink
ci kotlin matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 13, 2023
1 parent b618798 commit dc0098e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci-kotlin-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
build:
name: K2=${{ matrix.kotlin-use-k2 }} | ${{ matrix.kotlin-version }} | ${{ matrix.patch-file }}
strategy:
fail-fast: false
matrix:
Expand All @@ -18,10 +19,14 @@ jobs:
'[1.9.20-dev,1.9.20-dev-9999['
]
kotlin-use-k2: [ 'false', 'true' ]
patch-file: [ '' ]
include:
- kotlin-use-k2: 'true' # patch is only needed for K2
patch-file: [ '', './.github/patches/K2_workaround.patch' ]
exclude:
# patch is only needed for K2
- kotlin-use-k2: 'false'
patch-file: ./.github/patches/K2_workaround.patch
# it's not possible to use K2 with kotlin 1.8.21
- kotlin-use-k2: 'true'
kotlin-version: ''
uses: ./.github/workflows/run-tests.yml
with:
kotlin-version: ${{ matrix.kotlin-version }}
Expand Down

0 comments on commit dc0098e

Please sign in to comment.