aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--README.txt3
-rw-r--r--build.gradle.kts2
3 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e1f2d21..6682a68 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,6 +2,9 @@ on:
- push
jobs:
compile:
+ strategy:
+ matrix:
+ kotlin-version: ["2.0.20", "2.0.21", "2.1.0-RC2", "1.9.25"]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17 for x64
@@ -12,6 +15,8 @@ jobs:
- uses: gradle/actions/setup-gradle@v4
- run: |
./gradlew build
+ env:
+ KOTLIN_VERSION: ${{ matrix.kotlin-version }}
name: This will infinitely hang
runs-on: ubuntu-latest
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..d847e10
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,3 @@
+Minimal (ish) reproduction for an infinite loop in the kotlin compiler.
+
+I first encountered this issue in \ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 6bc2c81..fafc7e1 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,5 +1,5 @@
plugins {
- kotlin("jvm") version "2.0.20"
+ kotlin("jvm") version (System.getenv("KOTLIN_VERSION") ?: "2.0.20")
}
group = "moe.nea"